Add migration for SQLite

This commit is contained in:
Kitaiti Makoto 2023-01-09 16:19:05 +09:00
parent 22b03710be
commit 890c9a0da4
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DROP INDEX users_fqn;
DROP INDEX blogs_actor_id;
DROP INDEX blogs_fqn;

View file

@ -0,0 +1,3 @@
CREATE UNIQUE INDEX users_fqn ON users (fqn);
CREATE UNIQUE INDEX blogs_actor_id ON blogs (actor_id);
CREATE UNIQUE INDEX blogs_fqn ON blogs (fqn);