Fix column index for resource_activity_log table
This commit is contained in:
@@ -747,12 +747,11 @@ func (Schema) ResourceActivityLog() *Table {
|
||||
return TableDef("resource_activity_log",
|
||||
ID,
|
||||
ColumnDef("rel_resource", ColumnTypeIdentifier),
|
||||
ColumnDef("resource_type", ColumnTypeText, ColumnTypeLength(64)),
|
||||
ColumnDef("resource_action", ColumnTypeVarchar, ColumnTypeLength(64)),
|
||||
ColumnDef("resource_type", ColumnTypeText, ColumnTypeLength(handleLength)),
|
||||
ColumnDef("resource_action", ColumnTypeVarchar, ColumnTypeLength(handleLength)),
|
||||
ColumnDef("ts", ColumnTypeTimestamp),
|
||||
|
||||
AddIndex("rel_resource", IColumn("rel_resource")),
|
||||
AddIndex("resource_type", IColumn("resource_type")),
|
||||
AddIndex("ts", IColumn("ts")),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user