refactor: apply review changes to joinrequest
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2515a679b8
commit
a41d8498ac
7 changed files with 72 additions and 28 deletions
|
|
@ -9,6 +9,7 @@ defmodule Mv.Repo.Migrations.AddJoinRequests do
|
|||
use Ecto.Migration
|
||||
|
||||
def up do
|
||||
# uuid_generate_v7() is provided by initialize_extensions migration (custom function)
|
||||
create table(:join_requests, primary_key: false) do
|
||||
add :id, :uuid, null: false, default: fragment("uuid_generate_v7()"), primary_key: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue