calendar slug added, settings quick change working
This commit is contained in:
parent
56b72f8038
commit
873723d776
7 changed files with 88 additions and 1 deletions
priv/repo/migrations
|
@ -11,10 +11,11 @@ defmodule Shift73k.Repo.Migrations.CreateUsersAuthTables do
|
|||
add(:role, :string, null: false)
|
||||
add(:confirmed_at, :naive_datetime)
|
||||
add(:week_start_at, :string, null: false)
|
||||
add(:calendar_slug, :string, null: false)
|
||||
timestamps()
|
||||
end
|
||||
|
||||
create(unique_index(:users, [:email]))
|
||||
create(unique_index(:users, [:email, :calendar_slug]))
|
||||
|
||||
create table(:users_tokens, primary_key: false) do
|
||||
add(:id, :binary_id, primary_key: true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue