{ "__className__": "serverpod.DatabaseMigration", "actions": [ { "__className__": "serverpod.DatabaseMigrationAction", "type": "alterTable", "alterTable": { "__className__": "serverpod.TableMigration", "name": "unique_set_default_child", "schema": "public", "addColumns": [], "deleteColumns": [], "modifyColumns": [], "addIndexes": [ { "__className__": "serverpod.IndexDefinition", "indexName": "unique_set_default_child_name", "elements": [ { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "spaceId" }, { "__className__": "serverpod.IndexElementDefinition", "type": 0, "definition": "name" } ], "type": "btree", "isUnique": true, "isPrimary": false } ], "deleteIndexes": [], "addForeignKeys": [], "deleteForeignKeys": [], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_set_default_child_name\" is added to table \"unique_set_default_child\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_set_default_child", "columns": [ "spaceId", "name" ], "destrucive": false } ] } } ], "warnings": [ { "__className__": "serverpod.DatabaseMigrationWarning", "type": "uniqueIndexCreated", "message": "Unique index \"unique_set_default_child_name\" is added to table \"unique_set_default_child\". If there are existing rows with duplicate values, this migration will fail.", "table": "unique_set_default_child", "columns": [ "spaceId", "name" ], "destrucive": false } ], "migrationApiVersion": 1 }