mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
5bac8e1b07
1. Schema Definition for User Invites table. 2. Use the newer table everywhere. 3. Migration code for User Invites table;
24 lines
374 B
Go
24 lines
374 B
Go
package schema
|
|
|
|
// ListModels lists all the models in this schema.
|
|
func ListModels() []interface{} {
|
|
return []interface{}{
|
|
&Job{},
|
|
&Egress{},
|
|
&UserAccessToken{},
|
|
&Event{},
|
|
&PendingHost{},
|
|
&Nameserver{},
|
|
&PostureCheck{},
|
|
&User{},
|
|
&Network{},
|
|
&UserRole{},
|
|
&UserGroup{},
|
|
&JITRequest{},
|
|
&JITGrant{},
|
|
&Host{},
|
|
&PendingUser{},
|
|
&UserInvite{},
|
|
}
|
|
}
|