Improve and activate groups

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-09-29 09:53:48 +02:00
parent 1ca46a6863
commit 49a5725da3
131 changed files with 16440 additions and 1929 deletions

View File

@@ -0,0 +1,10 @@
defmodule Mobilizon.Storage.Repo.Migrations.AddContactsToEvents do
use Ecto.Migration
def change do
create table(:event_contacts, primary_key: false) do
add(:event_id, references(:events, on_delete: :delete_all), primary_key: true)
add(:actor_id, references(:actors, on_delete: :delete_all), primary_key: true)
end
end
end