feat: roles SPA Users, Profile, API keys, Activity
This commit is contained in:
1 parent
3db490a615
commit
34dffe222f
98 files changed
+4957
-434
No files matched your search
@@ -192,6 +192,11 @@ func TestSQLiteSchemaIsUntouchedByTheModelChanges(t *testing.T) {
|
||||
}
|
||||
for _, row := range after.rows["users"] {
|
||||
delete(row, "role_id")
|
||||
assignedBy, columnAdded := row["role_assigned_by_id"]
|
||||
if !columnAdded || assignedBy != nil {
|
||||
t.Errorf("a legacy user must read a NULL role_assigned_by_id: %v", row)
|
||||
}
|
||||
delete(row, "role_assigned_by_id")
|
||||
}
|
||||
for _, row := range after.rows["invites"] {
|
||||
if row["role_id"] == nil {
|
||||
|
||||
Reference in new issue
Block a user