From 175055cf9d49c77cf7a738f369eea1e4818c9714 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Wed, 24 Feb 2021 00:34:23 +0900 Subject: [PATCH] Add migration to add index to medias.file_path % diesel migration generate medias_index_file_path --- .../postgres/2021-02-23-153402_medias_index_file_path/down.sql | 1 + .../postgres/2021-02-23-153402_medias_index_file_path/up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 migrations/postgres/2021-02-23-153402_medias_index_file_path/down.sql create mode 100644 migrations/postgres/2021-02-23-153402_medias_index_file_path/up.sql diff --git a/migrations/postgres/2021-02-23-153402_medias_index_file_path/down.sql b/migrations/postgres/2021-02-23-153402_medias_index_file_path/down.sql new file mode 100644 index 00000000..291a97c5 --- /dev/null +++ b/migrations/postgres/2021-02-23-153402_medias_index_file_path/down.sql @@ -0,0 +1 @@ +-- This file should undo anything in `up.sql` \ No newline at end of file diff --git a/migrations/postgres/2021-02-23-153402_medias_index_file_path/up.sql b/migrations/postgres/2021-02-23-153402_medias_index_file_path/up.sql new file mode 100644 index 00000000..33cf74b5 --- /dev/null +++ b/migrations/postgres/2021-02-23-153402_medias_index_file_path/up.sql @@ -0,0 +1 @@ +-- Your SQL goes here \ No newline at end of file