From fefa367242de85f46250fb8da46dbae3f5545836 Mon Sep 17 00:00:00 2001
From: Thomas Lange <code@nerdmind.de>
Date: Thu, 17 Jun 2021 00:18:34 +0200
Subject: 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.
---
 core/db/migrations/2.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 core/db/migrations/2.sql

(limited to 'core/db/migrations/2.sql')

diff --git a/core/db/migrations/2.sql b/core/db/migrations/2.sql
new file mode 100644
index 0000000..525b768
--- /dev/null
+++ b/core/db/migrations/2.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `page` ADD UNIQUE KEY `time_insert` (`time_insert`);
+ALTER TABLE `post` ADD UNIQUE KEY `time_insert` (`time_insert`);
+ALTER TABLE `user` ADD UNIQUE KEY `time_insert` (`time_insert`);
-- 
cgit v1.2.3

