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,15 @@
defmodule Mobilizon.Repo.Migrations.CreateUserSettings do
use Ecto.Migration
def change do
create table(:user_settings, primary_key: false) do
add(:timezone, :string)
add(:notification_on_day, :boolean)
add(:notification_each_week, :boolean)
add(:notification_before_event, :boolean)
add(:user_id, references(:users, on_delete: :delete_all), primary_key: true)
timestamps()
end
end
end