1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

server - remove realm 'Test'

This commit is contained in:
2018-01-30 10:38:18 -06:00
parent 195e01c535
commit e3107e8687
4 changed files with 13 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
defmodule MyApp.Repo.Migrations.CategoryDeleteTest do
use Ecto.Migration
import Ecto.Query
# delete the test category I forgot in
def change do
from(c in "category", where: c.title == "Test")
|> MyApp.Repo.delete_all
end
end