mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
no message
This commit is contained in:
parent
9d56dd122f
commit
cfd1fc275b
@ -15,7 +15,7 @@ class CreateUserEmailVerificationsTable extends Migration
|
||||
{
|
||||
Schema::create('user_email_verifications', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('userid')->nullable()->default(0)->comment('用户id');
|
||||
$table->bigInteger('userid')->nullable()->default(0)->comment('用户id');
|
||||
$table->string('code')->nullable()->default('')->comment('验证参数');
|
||||
$table->string('email')->nullable()->default('')->comment('电子邮箱');
|
||||
$table->integer('status')->nullable()->default(0)->comment('0-未验证,1-已验证');
|
||||
|
||||
@ -15,7 +15,7 @@ class CreateProjectTaskMailLogsTable extends Migration
|
||||
{
|
||||
Schema::create('project_task_mail_logs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('userid')->nullable()->default(0)->comment('用户id');
|
||||
$table->bigInteger('userid')->nullable()->default(0)->comment('用户id');
|
||||
$table->integer('task_id')->nullable()->default(0)->comment('任务id');
|
||||
$table->string('email')->nullable()->default('')->comment('电子邮箱');
|
||||
$table->tinyInteger('type')->nullable()->default(0)->comment('提醒类型:1第一次任务提醒,2第二次任务超期提醒');
|
||||
|
||||
@ -14,10 +14,10 @@ class AddFileLinksUserid extends Migration
|
||||
public function up()
|
||||
{
|
||||
$isAdd = false;
|
||||
Schema::table('file_links', function (Blueprint $table) {
|
||||
Schema::table('file_links', function (Blueprint $table) use (&$isAdd) {
|
||||
if (!Schema::hasColumn('file_links', 'userid')) {
|
||||
$isAdd = true;
|
||||
$table->integer('userid')->nullable()->default(0)->after('code')->comment('会员ID');
|
||||
$table->bigInteger('userid')->nullable()->default(0)->after('code')->comment('会员ID');
|
||||
}
|
||||
});
|
||||
if ($isAdd) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user