Browse Source

Add migration to add index to medias.file_path for SQLite3

pull/914/head
Kitaiti Makoto 1 month ago
parent
commit
58324945cc
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      migrations/sqlite/2021-02-23-153402_medias_index_file_path/down.sql
  2. +1
    -0
      migrations/sqlite/2021-02-23-153402_medias_index_file_path/up.sql

+ 1
- 0
migrations/sqlite/2021-02-23-153402_medias_index_file_path/down.sql View File

@@ -0,0 +1 @@
DROP INDEX medias_index_file_path;

+ 1
- 0
migrations/sqlite/2021-02-23-153402_medias_index_file_path/up.sql View File

@@ -0,0 +1 @@
CREATE INDEX medias_index_file_path ON medias (file_path);

Loading…
Cancel
Save