From 88c4effebd6efa93f41cc3d11d2c3a3fa3e6649f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 24 Oct 2017 20:30:31 +0200 Subject: Database update: The maximum amount of characters for the argument field has been increased from 100 to 250. Database update to version 2.4.1 (no existing data will be lost or changed): ALTER TABLE `page` MODIFY `argv` VARCHAR(250); ALTER TABLE `post` MODIFY `argv` VARCHAR(250); ALTER TABLE `user` MODIFY `argv` VARCHAR(250); --- database.sql | 6 +++--- template/admin/html/page/form.php | 2 +- template/admin/html/post/form.php | 2 +- template/admin/html/user/form.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/database.sql b/database.sql index 1207b3f..63c9765 100644 --- a/database.sql +++ b/database.sql @@ -9,7 +9,7 @@ CREATE TABLE `page` ( `slug` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `name` varchar(100) NOT NULL, `body` text NOT NULL, - `argv` varchar(100) DEFAULT NULL + `argv` varchar(250) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- ============================================================================= @@ -23,7 +23,7 @@ CREATE TABLE `post` ( `slug` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `name` varchar(100) NOT NULL, `body` text NOT NULL, - `argv` varchar(100) DEFAULT NULL + `argv` varchar(250) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- ============================================================================= @@ -39,7 +39,7 @@ CREATE TABLE `user` ( `fullname` varchar(40) NOT NULL, `mailaddr` varchar(60) NOT NULL, `body` text NOT NULL, - `argv` varchar(100) DEFAULT NULL + `argv` varchar(250) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- ============================================================================= diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index ad7387f..19df11f 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -78,7 +78,7 @@
- +
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 1123ff3..a1fa601 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -78,7 +78,7 @@
- +
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index a9d4b0a..4e0f3c4 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -84,7 +84,7 @@
- +
-- cgit v1.2.3