Introduce group basic federation, event new page and notifications

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-02-18 08:57:00 +01:00
parent 300ef8f245
commit 4144e9ffd0
416 changed files with 32220 additions and 16750 deletions

View File

@@ -0,0 +1,14 @@
defmodule Mobilizon.Storage.Repo.Migrations.AddNewRolesToMember do
use Ecto.Migration
@disable_ddl_transaction true
def up do
Ecto.Migration.execute("ALTER TYPE member_role ADD VALUE IF NOT EXISTS 'invited'")
Ecto.Migration.execute("ALTER TYPE member_role ADD VALUE IF NOT EXISTS 'rejected'")
end
def down do
IO.puts("Not removing value 'invited' from member_role type")
IO.puts("Not removing value 'rejected' from member_role type")
end
end