Make updated_at not nullable, it should get set at the creation as well
This commit is contained in:
@@ -894,7 +894,7 @@ return [
|
||||
"fields" => [
|
||||
"k" => ["type" => "varbinary(50)", "not null" => "1", "primary" => "1", "comment" => ""],
|
||||
"v" => ["type" => "mediumtext", "comment" => ""],
|
||||
"updated_at" => ["type" => "int unsigned", "comment" => "timestamp of the last update"],
|
||||
"updated_at" => ["type" => "int unsigned", "not null" => "1", "comment" => "timestamp of the last update"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["k"],
|
||||
|
||||
Reference in New Issue
Block a user