mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
fix SQL
This commit is contained in:
parent
9936081c7e
commit
0d6a4c8951
2 changed files with 2 additions and 2 deletions
|
@ -845,7 +845,7 @@ CREATE TABLE IF NOT EXISTS `intro` (
|
|||
CREATE TABLE IF NOT EXISTS `key-value` (
|
||||
`k` varbinary(50) NOT NULL COMMENT '',
|
||||
`v` mediumtext COMMENT '',
|
||||
`updated_at` int unsigned NOT NULL COMMENT 'timestamp of the last update',
|
||||
`updated_at` int unsigned COMMENT 'timestamp of the last update',
|
||||
PRIMARY KEY(`k`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='A key value storage';
|
||||
|
||||
|
|
|
@ -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", "not null" => "0", "comment" => "timestamp of the last update"],
|
||||
"updated_at" => ["type" => "int unsigned", "comment" => "timestamp of the last update"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["k"],
|
||||
|
|
Loading…
Reference in a new issue