mobilizon.chapril.org-mobil.../priv/repo/migrations/20200514101612_add_local_attribute_to_resources_and_todos.exs
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00

18 lines
376 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.AddLocalAttributeToResourcesAndTodos do
use Ecto.Migration
def change do
alter table(:resource) do
add(:local, :boolean, default: true)
end
alter table(:todo_lists) do
add(:local, :boolean, default: true)
end
alter table(:todos) do
add(:local, :boolean, default: true)
end
end
end