mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
[api] torrents add tags + promotion + pick
This commit is contained in:
@@ -17,7 +17,7 @@ class CreateUsersTable extends Migration
|
||||
return;
|
||||
}
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->id('id')->startingValue(10001);
|
||||
$table->string('username', 40)->default('')->unique('username');
|
||||
$table->string('passhash', 32)->default('');
|
||||
$table->binary('secret');
|
||||
@@ -133,6 +133,7 @@ class CreateUsersTable extends Migration
|
||||
$table->enum('showfb', ['yes', 'no'])->default('yes');
|
||||
$table->string('page')->nullable()->default('');
|
||||
$table->index(['status', 'added'], 'status_added');
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user