|
@@ -15,11 +15,11 @@ class CreateUsersTable extends Migration
|
|
{
|
|
{
|
|
Schema::create('users', function (Blueprint $table) {
|
|
Schema::create('users', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
$table->increments('id');
|
|
- $table->string('name');
|
|
|
|
- $table->string('email')->unique();
|
|
|
|
|
|
+ $table->string('name', 150);
|
|
|
|
+ $table->string('email', 150)->unique();
|
|
$table->integer('telegram_id')->nullable();
|
|
$table->integer('telegram_id')->nullable();
|
|
$table->integer('google_id')->nullable();
|
|
$table->integer('google_id')->nullable();
|
|
- $table->string('password');
|
|
|
|
|
|
+ $table->string('password', 150);
|
|
$table->timestamp('email_verified_at')->nullable();
|
|
$table->timestamp('email_verified_at')->nullable();
|
|
$table->rememberToken();
|
|
$table->rememberToken();
|
|
$table->timestamps();
|
|
$table->timestamps();
|