aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-24 18:06:03 +0200
committerThomas Lange <code@nerdmind.de>2021-06-24 18:06:03 +0200
commit55ae320e7cfd710f3ea0f295c880619217db2220 (patch)
treef88e29a7405fdeb31e8aadc8e886bf44505e73a9 /core
parentbf26d7b44035722f21b6af13c098f1bb2720eb63 (diff)
downloadblog-55ae320e7cfd710f3ea0f295c880619217db2220.tar.gz
blog-55ae320e7cfd710f3ea0f295c880619217db2220.tar.xz
blog-55ae320e7cfd710f3ea0f295c880619217db2220.zip
Remove migration for migration table (readme)
This commit removes the migration number 5 which created the migration table. The initialization of the migration table will be implemented in the upcoming migration script by itself. Sorry! If you recently installed the application with a fresh database which contained the migration table, please manually set the schema_version to 4. It is recommended to only install a specific tag instead of the latest master branch unless you are a developer or know what you do. UPDATE migration SET schema_version = 4
Diffstat (limited to 'core')
-rw-r--r--core/db/database.sql2
-rw-r--r--core/db/migrations/5.sql3
2 files changed, 1 insertions, 4 deletions
diff --git a/core/db/database.sql b/core/db/database.sql
index ae61034..7a073cb 100644
--- a/core/db/database.sql
+++ b/core/db/database.sql
@@ -3,7 +3,7 @@
-- =============================================================================
CREATE TABLE `migration` (`schema_version` smallint(4) NOT NULL)
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-INSERT INTO `migration` (`schema_version`) VALUES (5);
+INSERT INTO `migration` (`schema_version`) VALUES (4);
-- =============================================================================
-- Table structure for page items
diff --git a/core/db/migrations/5.sql b/core/db/migrations/5.sql
deleted file mode 100644
index a3c8e5a..0000000
--- a/core/db/migrations/5.sql
+++ /dev/null
@@ -1,3 +0,0 @@
-CREATE TABLE `migration` (`schema_version` smallint(4) NOT NULL)
- ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-INSERT INTO `migration` (`schema_version`) VALUES (5);