X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20210106183301_data_migration_create_populate_hashtags_table.exs;h=cf3cf26a0f94fc9bcf7b518c814acd1cfbecb3b0;hb=7c96c82b5bc8cfe20dd8be875550ec2127551779;hp=2a965f0758ab84b6de6474056d64e4674b02a0e6;hpb=694d98be550b0afe5b110c7f3c63e9cb382f2c90;p=akkoma diff --git a/priv/repo/migrations/20210106183301_data_migration_create_populate_hashtags_table.exs b/priv/repo/migrations/20210106183301_data_migration_create_populate_hashtags_table.exs index 2a965f075..cf3cf26a0 100644 --- a/priv/repo/migrations/20210106183301_data_migration_create_populate_hashtags_table.exs +++ b/priv/repo/migrations/20210106183301_data_migration_create_populate_hashtags_table.exs @@ -10,5 +10,7 @@ defmodule Pleroma.Repo.Migrations.DataMigrationCreatePopulateHashtagsTable do ) end - def down, do: :ok + def down do + execute("DELETE FROM data_migrations WHERE name = 'populate_hashtags_table';") + end end