瀏覽代碼

Add migration to add index to medias.file_path for SQLite3

pull/914/head
Kitaiti Makoto 2 月之前
父節點
當前提交
58324945cc
共有 2 個檔案被更改,包括 2 行新增0 行删除
  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 查看文件

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

+ 1
- 0
migrations/sqlite/2021-02-23-153402_medias_index_file_path/up.sql 查看文件

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

Loading…
取消
儲存