修改数据库

This commit is contained in:
邹景立 2022-11-04 15:03:34 +08:00
parent 2efa2ebb33
commit 7d778dc406
6 changed files with 88 additions and 88 deletions

View File

@ -51,7 +51,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -80,7 +80,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -118,7 +118,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -148,7 +148,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -176,7 +176,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -222,7 +222,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -258,7 +258,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -289,7 +289,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -334,7 +334,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -379,6 +379,6 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}

View File

@ -74,7 +74,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -111,7 +111,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -147,7 +147,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -181,7 +181,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -217,7 +217,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -256,7 +256,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -301,7 +301,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -343,7 +343,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -376,7 +376,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -411,7 +411,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -489,7 +489,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -532,7 +532,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -569,7 +569,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -602,7 +602,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -639,7 +639,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -679,7 +679,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -722,7 +722,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -757,7 +757,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -817,7 +817,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -876,7 +876,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -912,7 +912,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -953,7 +953,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -985,7 +985,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1019,7 +1019,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1085,7 +1085,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1147,7 +1147,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1201,6 +1201,6 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}

View File

@ -62,7 +62,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -111,7 +111,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -142,7 +142,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -188,7 +188,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -224,7 +224,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -257,7 +257,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -291,6 +291,6 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}

View File

@ -51,7 +51,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -80,7 +80,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -118,7 +118,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -148,7 +148,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -176,7 +176,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -222,7 +222,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -258,7 +258,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -289,7 +289,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -334,7 +334,7 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -379,6 +379,6 @@ class InstallAdmin extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}

View File

@ -62,7 +62,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -111,7 +111,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -142,7 +142,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -188,7 +188,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -224,7 +224,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -257,7 +257,7 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -291,6 +291,6 @@ class InstallWechat extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}

View File

@ -74,7 +74,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -111,7 +111,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -147,7 +147,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -181,7 +181,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -217,7 +217,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -256,7 +256,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -301,7 +301,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -343,7 +343,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -376,7 +376,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -411,7 +411,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -489,7 +489,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -532,7 +532,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -569,7 +569,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -602,7 +602,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -639,7 +639,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -679,7 +679,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -722,7 +722,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -757,7 +757,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -817,7 +817,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -876,7 +876,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -912,7 +912,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -953,7 +953,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -985,7 +985,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1019,7 +1019,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1085,7 +1085,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1147,7 +1147,7 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
/**
@ -1201,6 +1201,6 @@ class InstallUser extends Migrator
->save();
// 修改主键长度
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20]);
$this->table($table)->changeColumn('id', 'biginteger', ['limit' => 20, 'identity' => true]);
}
}