diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-24 18:06:03 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-24 18:06:03 +0200 |
commit | 55ae320e7cfd710f3ea0f295c880619217db2220 (patch) | |
tree | f88e29a7405fdeb31e8aadc8e886bf44505e73a9 /core | |
parent | bf26d7b44035722f21b6af13c098f1bb2720eb63 (diff) | |
download | blog-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.sql | 2 | ||||
-rw-r--r-- | core/db/migrations/5.sql | 3 |
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); |