f5bdedf789
Closes #1056 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
12 lines
307 B
Elixir
12 lines
307 B
Elixir
defmodule Mobilizon.Storage.Repo.Migrations.SetAllEventsCategoryToMeeting do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
Ecto.Migration.execute("UPDATE events SET category = 'MEETING'")
|
|
end
|
|
|
|
def down do
|
|
Ecto.Migration.execute("UPDATE events SET category = 'meeting' WHERE category = 'MEETING'")
|
|
end
|
|
end
|