Add initial implementation of grants
This commit is contained in:
parent
b8f1281f78
commit
69b6579de7
15 changed files with 308 additions and 73 deletions
|
|
@ -91,7 +91,7 @@ func (sql *SQL) Update(ctx context.Context, progress io.Writer) error {
|
|||
{
|
||||
"metadata",
|
||||
&models.Metadatum{},
|
||||
models.AccessTable,
|
||||
models.GrantTable,
|
||||
},
|
||||
{
|
||||
"snapshot",
|
||||
|
|
@ -108,6 +108,11 @@ func (sql *SQL) Update(ctx context.Context, progress io.Writer) error {
|
|||
&models.User{},
|
||||
models.UserTable,
|
||||
},
|
||||
{
|
||||
"grant",
|
||||
&models.Grant{},
|
||||
models.GrantTable,
|
||||
},
|
||||
}
|
||||
|
||||
// migrate all of the tables!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue