{ "__className__": "serverpod.DatabaseMigration", "actions": [ { "__className__": "serverpod.DatabaseMigrationAction", "type": "deleteTable", "deleteTable": "crdt_sync_integrity_violations" }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "deleteTable", "deleteTable": "crdt_scopes" }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "deleteTable", "deleteTable": "crdt_scope_nodes" }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "deleteTable", "deleteTable": "crdt_scope_members" }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "address", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "address_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "address_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"address\" will be dropped.", "table": "address", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "city", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "city_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "city_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"city\" will be dropped.", "table": "city", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "company", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "company_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "company_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"company\" will be dropped.", "table": "company", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_cascade_middle", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_cascade_middle_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_cascade_middle_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_cascade_middle\" will be dropped.", "table": "fk_chain_cascade_middle", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_middle_cascade_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_middle_cascade_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_middle_cascade_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_middle_cascade_child\" will be dropped.", "table": "fk_chain_middle_cascade_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_middle_set_null_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_middle_set_null_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_middle_set_null_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_middle_set_null_child\" will be dropped.", "table": "fk_chain_middle_set_null_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_restrict_blocker", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_restrict_blocker_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_restrict_blocker_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_restrict_blocker\" will be dropped.", "table": "fk_chain_restrict_blocker", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_root", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_root_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_root_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_root\" will be dropped.", "table": "fk_chain_root", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_set_null_cascade_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_set_null_cascade_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_set_null_cascade_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_cascade_child\" will be dropped.", "table": "fk_chain_set_null_cascade_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_set_null_middle", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_set_null_middle_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_set_null_middle_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_middle\" will be dropped.", "table": "fk_chain_set_null_middle", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_set_null_restrict_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_set_null_restrict_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_set_null_restrict_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_restrict_child\" will be dropped.", "table": "fk_chain_set_null_restrict_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "fk_chain_set_null_set_null_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "fk_chain_set_null_set_null_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "fk_chain_set_null_set_null_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_set_null_child\" will be dropped.", "table": "fk_chain_set_null_set_null_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "nullable_set_default_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "nullable_set_default_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "nullable_set_default_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"nullable_set_default_child\" will be dropped.", "table": "nullable_set_default_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "organization", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "organization_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "organization_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"organization\" will be dropped.", "table": "organization", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "person", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "person_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "person_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"person\" will be dropped.", "table": "person", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "required_cascade_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "required_cascade_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "required_cascade_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_cascade_child\" will be dropped.", "table": "required_cascade_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "required_no_action_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "required_no_action_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "required_no_action_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_no_action_child\" will be dropped.", "table": "required_no_action_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "required_set_null_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "required_set_null_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "required_set_null_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_set_null_child\" will be dropped.", "table": "required_set_null_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "restrict_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "restrict_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "restrict_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"restrict_child\" will be dropped.", "table": "restrict_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "town", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "town_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "town_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"town\" will be dropped.", "table": "town", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "types", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "types_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "types_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"types\" will be dropped.", "table": "types", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique__spaceId__name__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "name" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique__scopeId__name__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique\" will be dropped.", "table": "unique", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique__spaceId__name__unique_idx\" is added to table \"unique\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique", "columns": [ "spaceId", "name" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_cascade_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_cascade_child__spaceId__name__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "name" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_cascade_child__scopeId__name__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_cascade_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_cascade_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_cascade_child\" will be dropped.", "table": "unique_cascade_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_cascade_child__spaceId__name__unique_idx\" is added to table \"unique_cascade_child\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_cascade_child", "columns": [ "spaceId", "name" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_cascade_reference", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_cascade_reference_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_cascade_reference_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_cascade_reference\" will be dropped.", "table": "unique_cascade_reference", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_composite", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_composite__spaceId__scope__value__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "scope" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "value" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_composite__scopeId__scope__value__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_composite_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_composite_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_composite\" will be dropped.", "table": "unique_composite", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_composite__spaceId__scope__value__unique_idx\" is added to table \"unique_composite\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_composite", "columns": [ "spaceId", "scope", "value" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_discriminator", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_discriminator__spaceId__categoryId__name__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "categoryId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "name" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_discriminator__scopeId__categoryId__name__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_discriminator_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_discriminator_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_discriminator\" will be dropped.", "table": "unique_discriminator", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_discriminator__spaceId__categoryId__name__unique_idx\" is added to table \"unique_discriminator\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_discriminator", "columns": [ "spaceId", "categoryId", "name" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_fk_pair", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_fk_pair_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_fk_pair_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_fk_pair\" will be dropped.", "table": "unique_fk_pair", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_mixed_fk", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_mixed_fk_name_parent", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "name" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "parentId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_mixed_fk_name_parent" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_mixed_fk_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_mixed_fk_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_mixed_fk\" will be dropped.", "table": "unique_mixed_fk", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_mixed_fk_name_parent\" is added to table \"unique_mixed_fk\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_mixed_fk", "columns": [ "spaceId", "name", "parentId" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_no_release", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_no_release__spaceId__categoryId__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "categoryId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_no_release__scopeId__categoryId__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_no_release_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_no_release_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_no_release\" will be dropped.", "table": "unique_no_release", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_no_release__spaceId__categoryId__unique_idx\" is added to table \"unique_no_release\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_no_release", "columns": [ "spaceId", "categoryId" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_nullable", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_nullable__spaceId__value__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "value" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_nullable__scopeId__value__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_nullable_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_nullable_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_nullable\" will be dropped.", "table": "unique_nullable", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_nullable__spaceId__value__unique_idx\" is added to table \"unique_nullable\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_nullable", "columns": [ "spaceId", "value" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_overlapping", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_overlapping_first_second", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "first" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "second" } ], "type": "btree", "isUnique": true, "isPrimary": false }, { "__className__": "serverpod.IndexDefinition", "indexName": "unique_overlapping_second_third", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "second" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "third" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_overlapping_first_second", "unique_overlapping_second_third" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_overlapping_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_overlapping_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_overlapping\" will be dropped.", "table": "unique_overlapping", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_overlapping_first_second\" is added to table \"unique_overlapping\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_overlapping", "columns": [ "spaceId", "first", "second" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_overlapping_second_third\" is added to table \"unique_overlapping\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_overlapping", "columns": [ "spaceId", "second", "third" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_set_default_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_set_default_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_set_default_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_set_default_child\" will be dropped.", "table": "unique_set_default_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_set_null_child", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [], "deleteIndexes": [], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_set_null_child_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_set_null_child_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_set_null_child\" will be dropped.", "table": "unique_set_null_child", "columns": [ "scopeId" ], "destrucive": true } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_uuid", "schema": "public", "addColumns": [ { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "deleteColumns": [ "scopeId" ], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_uuid__spaceId__value__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "value" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [ "unique_uuid__scopeId__value__unique_idx" ], "addForeignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "unique_uuid_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "deleteForeignKeys": [ "unique_uuid_fk_0" ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_uuid\" will be dropped.", "table": "unique_uuid", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_uuid__spaceId__value__unique_idx\" is added to table \"unique_uuid\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_uuid", "columns": [ "spaceId", "value" ], "destrucive": false } ] } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "deleteTable", "deleteTable": "crdt_data_rows" }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "createTable", "createTable": { "__className__": "serverpod.TableDefinition", "name": "crdt_data_rows", "dartName": "CrdtDataRow", "module": "serverpod_offline_sync", "schema": "public", "columns": [ { "__className__": "serverpod.ColumnDefinition", "name": "id", "fieldName": "id", "columnType": 6, "isNullable": false, "columnDefault": "serial", "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "hlcDatetime", "fieldName": "hlcDatetime", "columnType": 4, "isNullable": false, "dartType": "DateTime" }, { "__className__": "serverpod.ColumnDefinition", "name": "hlcCounter", "fieldName": "hlcCounter", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "tblId", "fieldName": "tblId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "uuidRowId", "fieldName": "uuidRowId", "columnType": 7, "isNullable": false, "dartType": "UuidValue" }, { "__className__": "serverpod.ColumnDefinition", "name": "nodeId", "fieldName": "nodeId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "visibility", "fieldName": "visibility", "columnType": 6, "isNullable": false, "columnDefault": "0", "dartType": "serverpod_offline_sync:CrdtDataRowVisibility" } ], "foreignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "crdt_data_rows_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 }, { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "crdt_data_rows_fk_1", "columns": [ "tblId" ], "referenceTable": "crdt_schema_tables", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 }, { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "crdt_data_rows_fk_2", "columns": [ "nodeId" ], "referenceTable": "crdt_nodes", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 3 } ], "indexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "crdt_data_rows_space_tbl_row_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "tblId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "uuidRowId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "managed": true } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "createTable", "createTable": { "__className__": "serverpod.TableDefinition", "name": "offline_sync_integrity_violations", "dartName": "OfflineSyncIntegrityViolation", "module": "serverpod_offline_sync", "schema": "public", "columns": [ { "__className__": "serverpod.ColumnDefinition", "name": "id", "fieldName": "id", "columnType": 6, "isNullable": false, "columnDefault": "serial", "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "type", "fieldName": "type", "columnType": 0, "isNullable": false, "dartType": "serverpod_offline_sync:OfflineSyncViolationType" }, { "__className__": "serverpod.ColumnDefinition", "name": "domainTableName", "fieldName": "domainTableName", "columnType": 0, "isNullable": false, "dartType": "String" }, { "__className__": "serverpod.ColumnDefinition", "name": "uuidRowId", "fieldName": "uuidRowId", "columnType": 7, "isNullable": false, "dartType": "UuidValue" }, { "__className__": "serverpod.ColumnDefinition", "name": "ownerSpaceUuid", "fieldName": "ownerSpaceUuid", "columnType": 7, "isNullable": true, "dartType": "UuidValue?" }, { "__className__": "serverpod.ColumnDefinition", "name": "incomingSpaceUuid", "fieldName": "incomingSpaceUuid", "columnType": 7, "isNullable": false, "dartType": "UuidValue" }, { "__className__": "serverpod.ColumnDefinition", "name": "operation", "fieldName": "operation", "columnType": 0, "isNullable": false, "dartType": "serverpod_offline_sync:OfflineSyncViolationOperation" }, { "__className__": "serverpod.ColumnDefinition", "name": "uuidNodeId", "fieldName": "uuidNodeId", "columnType": 7, "isNullable": true, "dartType": "UuidValue?" }, { "__className__": "serverpod.ColumnDefinition", "name": "crdtDataRowId", "fieldName": "crdtDataRowId", "columnType": 6, "isNullable": true, "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "hlcDatetime", "fieldName": "hlcDatetime", "columnType": 4, "isNullable": true, "dartType": "DateTime?" }, { "__className__": "serverpod.ColumnDefinition", "name": "hlcCounter", "fieldName": "hlcCounter", "columnType": 6, "isNullable": true, "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "firstSeenAt", "fieldName": "firstSeenAt", "columnType": 4, "isNullable": false, "dartType": "DateTime" }, { "__className__": "serverpod.ColumnDefinition", "name": "lastSeenAt", "fieldName": "lastSeenAt", "columnType": 4, "isNullable": false, "dartType": "DateTime" }, { "__className__": "serverpod.ColumnDefinition", "name": "occurrences", "fieldName": "occurrences", "columnType": 6, "isNullable": false, "dartType": "int" } ], "foreignKeys": [], "indexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "offline_sync_integrity_violations_key_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "type" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "operation" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "domainTableName" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "uuidRowId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "ownerSpaceUuid" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "incomingSpaceUuid" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "managed": true } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "createTable", "createTable": { "__className__": "serverpod.TableDefinition", "name": "offline_sync_space_members", "dartName": "OfflineSyncSpaceMember", "module": "serverpod_offline_sync", "schema": "public", "columns": [ { "__className__": "serverpod.ColumnDefinition", "name": "id", "fieldName": "id", "columnType": 6, "isNullable": false, "columnDefault": "serial", "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "userUuid", "fieldName": "userUuid", "columnType": 7, "isNullable": false, "dartType": "UuidValue" }, { "__className__": "serverpod.ColumnDefinition", "name": "role", "fieldName": "role", "columnType": 0, "isNullable": false, "dartType": "serverpod_offline_sync:OfflineSyncSpaceRole" } ], "foreignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "offline_sync_space_members_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "indexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "offline_sync_space_member_unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "userUuid" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "managed": true } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "createTable", "createTable": { "__className__": "serverpod.TableDefinition", "name": "offline_sync_space_nodes", "dartName": "OfflineSyncSpaceNode", "module": "serverpod_offline_sync", "schema": "public", "columns": [ { "__className__": "serverpod.ColumnDefinition", "name": "id", "fieldName": "id", "columnType": 6, "isNullable": false, "columnDefault": "serial", "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "spaceId", "fieldName": "spaceId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "nodeId", "fieldName": "nodeId", "columnType": 6, "isNullable": false, "dartType": "int" }, { "__className__": "serverpod.ColumnDefinition", "name": "lastReceivedHlc", "fieldName": "lastReceivedHlc", "columnType": 14, "isNullable": true, "dartType": "package:serverpod_offline_sync/serverpod_offline_sync.dart:Hlc?" } ], "foreignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "offline_sync_space_nodes_fk_0", "columns": [ "spaceId" ], "referenceTable": "offline_sync_spaces", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 }, { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "offline_sync_space_nodes_fk_1", "columns": [ "nodeId" ], "referenceTable": "crdt_nodes", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 4 } ], "indexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "offline_sync_space_node_unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "nodeId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "managed": true } }, { "__className__": "serverpod.DatabaseMigrationAction", "type": "createTable", "createTable": { "__className__": "serverpod.TableDefinition", "name": "offline_sync_spaces", "dartName": "OfflineSyncSpace", "module": "serverpod_offline_sync", "schema": "public", "columns": [ { "__className__": "serverpod.ColumnDefinition", "name": "id", "fieldName": "id", "columnType": 6, "isNullable": false, "columnDefault": "serial", "dartType": "int?" }, { "__className__": "serverpod.ColumnDefinition", "name": "uuidSpaceId", "fieldName": "uuidSpaceId", "columnType": 7, "isNullable": false, "columnDefault": "random_v7", "dartType": "UuidValue" }, { "__className__": "serverpod.ColumnDefinition", "name": "currentNodeId", "fieldName": "currentNodeId", "columnType": 6, "isNullable": true, "dartType": "int?" } ], "foreignKeys": [ { "__className__": "serverpod.ForeignKeyDefinition", "constraintName": "offline_sync_spaces_fk_0", "columns": [ "currentNodeId" ], "referenceTable": "crdt_nodes", "referenceTableSchema": "public", "referenceColumns": [ "id" ], "onUpdate": 3, "onDelete": 3 } ], "indexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "offline_sync_spaces__uuidSpaceId__unique_idx", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "uuidSpaceId" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "managed": true } } ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "tableDropped", "message": "Table \"crdt_sync_integrity_violations\" will be dropped.", "table": "crdt_sync_integrity_violations", "columns": [], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "tableDropped", "message": "Table \"crdt_scopes\" will be dropped.", "table": "crdt_scopes", "columns": [], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "tableDropped", "message": "Table \"crdt_scope_nodes\" will be dropped.", "table": "crdt_scope_nodes", "columns": [], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "tableDropped", "message": "Table \"crdt_scope_members\" will be dropped.", "table": "crdt_scope_members", "columns": [], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"address\" will be dropped.", "table": "address", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"city\" will be dropped.", "table": "city", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"company\" will be dropped.", "table": "company", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_cascade_middle\" will be dropped.", "table": "fk_chain_cascade_middle", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_middle_cascade_child\" will be dropped.", "table": "fk_chain_middle_cascade_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_middle_set_null_child\" will be dropped.", "table": "fk_chain_middle_set_null_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_restrict_blocker\" will be dropped.", "table": "fk_chain_restrict_blocker", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_root\" will be dropped.", "table": "fk_chain_root", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_cascade_child\" will be dropped.", "table": "fk_chain_set_null_cascade_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_middle\" will be dropped.", "table": "fk_chain_set_null_middle", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_restrict_child\" will be dropped.", "table": "fk_chain_set_null_restrict_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"fk_chain_set_null_set_null_child\" will be dropped.", "table": "fk_chain_set_null_set_null_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"nullable_set_default_child\" will be dropped.", "table": "nullable_set_default_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"organization\" will be dropped.", "table": "organization", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"person\" will be dropped.", "table": "person", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_cascade_child\" will be dropped.", "table": "required_cascade_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_no_action_child\" will be dropped.", "table": "required_no_action_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"required_set_null_child\" will be dropped.", "table": "required_set_null_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"restrict_child\" will be dropped.", "table": "restrict_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"town\" will be dropped.", "table": "town", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"types\" will be dropped.", "table": "types", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique\" will be dropped.", "table": "unique", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique__spaceId__name__unique_idx\" is added to table \"unique\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique", "columns": [ "spaceId", "name" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_cascade_child\" will be dropped.", "table": "unique_cascade_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_cascade_child__spaceId__name__unique_idx\" is added to table \"unique_cascade_child\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_cascade_child", "columns": [ "spaceId", "name" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_cascade_reference\" will be dropped.", "table": "unique_cascade_reference", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_composite\" will be dropped.", "table": "unique_composite", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_composite__spaceId__scope__value__unique_idx\" is added to table \"unique_composite\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_composite", "columns": [ "spaceId", "scope", "value" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_discriminator\" will be dropped.", "table": "unique_discriminator", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_discriminator__spaceId__categoryId__name__unique_idx\" is added to table \"unique_discriminator\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_discriminator", "columns": [ "spaceId", "categoryId", "name" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_fk_pair\" will be dropped.", "table": "unique_fk_pair", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_mixed_fk\" will be dropped.", "table": "unique_mixed_fk", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_mixed_fk_name_parent\" is added to table \"unique_mixed_fk\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_mixed_fk", "columns": [ "spaceId", "name", "parentId" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_no_release\" will be dropped.", "table": "unique_no_release", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_no_release__spaceId__categoryId__unique_idx\" is added to table \"unique_no_release\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_no_release", "columns": [ "spaceId", "categoryId" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_nullable\" will be dropped.", "table": "unique_nullable", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_nullable__spaceId__value__unique_idx\" is added to table \"unique_nullable\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_nullable", "columns": [ "spaceId", "value" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_overlapping\" will be dropped.", "table": "unique_overlapping", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_overlapping_first_second\" is added to table \"unique_overlapping\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_overlapping", "columns": [ "spaceId", "first", "second" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_overlapping_second_third\" is added to table \"unique_overlapping\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_overlapping", "columns": [ "spaceId", "second", "third" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_set_default_child\" will be dropped.", "table": "unique_set_default_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_set_null_child\" will be dropped.", "table": "unique_set_null_child", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"unique_uuid\" will be dropped.", "table": "unique_uuid", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_uuid__spaceId__value__unique_idx\" is added to table \"unique_uuid\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_uuid", "columns": [ "spaceId", "value" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "columnDropped", "message": "Column \"scopeId\" of table \"crdt_data_rows\" will be dropped.", "table": "crdt_data_rows", "columns": [ "scopeId" ], "destrucive": true }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"crdt_data_rows_space_tbl_row_idx\" is added to table \"crdt_data_rows\". If there are existing rows with duplicate values, this migration will fail.", "table": "crdt_data_rows", "columns": [ "spaceId", "tblId", "uuidRowId" ], "destrucive": false }, { "__className__": "serverpod.DatabaseMigrationWarning", "type": "tableDropped", "message": "One or more columns are added to table \"crdt_data_rows\" which cannot be added in a table migration. The complete table will be deleted and recreated.", "table": "crdt_data_rows", "columns": [ "spaceId" ], "destrucive": true } ], "migrationApiVersion": 1 }