aboutsummaryrefslogtreecommitdiffstats
path: root/core/db/migrations/2.sql
diff options
context:
space:
mode:
Diffstat (limited to 'core/db/migrations/2.sql')
-rw-r--r--core/db/migrations/2.sql3
1 files changed, 3 insertions, 0 deletions
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`);