Skip to content

Commit

Permalink
chore: permissions - make desc optional + add object column
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Sep 30, 2024
1 parent 858d19d commit 705a790
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion schema/permissions.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ table "permissions" {
default = sql("generate_ulid()")
}
column "description" {
null = false
null = true
type = text
}

Expand All @@ -20,8 +20,14 @@ table "permissions" {
type = text
}

column "object" {
null = true
type = text
}

column "deny" {
type = boolean
default = false
}

column "component_id" {
Expand Down

0 comments on commit 705a790

Please sign in to comment.