]> git.mxchange.org Git - friendica.git/commitdiff
fix SQL
authorPhilipp <admin@philipp.info>
Thu, 29 Dec 2022 22:27:36 +0000 (23:27 +0100)
committerPhilipp <admin@philipp.info>
Thu, 29 Dec 2022 22:27:36 +0000 (23:27 +0100)
database.sql
static/dbstructure.config.php

index 2ae33689c19ca53cd75d0b3d3a5bd2cc0774ddc6..b7d4ac35d938dcb1ad0c1f78b2f51fa2c4760a21 100644 (file)
@@ -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';
 
index 3b3d6067c1e1af1d601e1941a157145c8fe4b267..7ced8172fbe2073bc9dd1c27c191891b7e86d80b 100644 (file)
@@ -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"],