mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
* refactor: update button colors * feat: add dashboard panel for admins only & update header styles
21 lines
426 B
Elixir
21 lines
426 B
Elixir
defmodule SpazioSolazzo.Repo.Migrations.AddRoleToUsers do
|
|
@moduledoc """
|
|
Updates resources based on their most recent snapshots.
|
|
|
|
This file was autogenerated with `mix ash_postgres.generate_migrations`
|
|
"""
|
|
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
alter table(:users) do
|
|
add :role, :text, null: false, default: "customer"
|
|
end
|
|
end
|
|
|
|
def down do
|
|
alter table(:users) do
|
|
remove :role
|
|
end
|
|
end
|
|
end
|