aboutsummaryrefslogtreecommitdiffstats
path: root/core/db/migrations/5.sql
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-17 00:18:34 +0200
committerThomas Lange <code@nerdmind.de>2021-06-17 00:18:34 +0200
commitfefa367242de85f46250fb8da46dbae3f5545836 (patch)
tree135c54d4cd07abababddf30d891bd8dce0e4b1ea /core/db/migrations/5.sql
parent85d6e75d4c77d13f6f5c0c7bc75f6ed48ee6df6c (diff)
downloadblog-fefa367242de85f46250fb8da46dbae3f5545836.tar.gz
blog-fefa367242de85f46250fb8da46dbae3f5545836.tar.xz
blog-fefa367242de85f46250fb8da46dbae3f5545836.zip
Add migrations directory
This commit adds the directory core/db/migrations/ which contains all migrations that were applied to the database since the first release.
Diffstat (limited to 'core/db/migrations/5.sql')
-rw-r--r--core/db/migrations/5.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/db/migrations/5.sql b/core/db/migrations/5.sql
new file mode 100644
index 0000000..a3c8e5a
--- /dev/null
+++ b/core/db/migrations/5.sql
@@ -0,0 +1,3 @@
+CREATE TABLE `migration` (`schema_version` smallint(4) NOT NULL)
+ ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+INSERT INTO `migration` (`schema_version`) VALUES (5);