97 lines
2.8 KiB
JSON
97 lines
2.8 KiB
JSON
|
|
{
|
||
|
|
"__className__": "serverpod.DatabaseMigration",
|
||
|
|
"actions": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
||
|
|
"type": "createTable",
|
||
|
|
"createTable": {
|
||
|
|
"__className__": "serverpod.TableDefinition",
|
||
|
|
"name": "dictionary_key",
|
||
|
|
"dartName": "DictionaryKey",
|
||
|
|
"module": "halkyon_learn",
|
||
|
|
"schema": "public",
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "id",
|
||
|
|
"fieldName": "id",
|
||
|
|
"columnType": 6,
|
||
|
|
"isNullable": false,
|
||
|
|
"columnDefault": "serial",
|
||
|
|
"dartType": "int?"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "source",
|
||
|
|
"fieldName": "source",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "glossLanguage",
|
||
|
|
"fieldName": "glossLanguage",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "key",
|
||
|
|
"fieldName": "key",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "sourceId",
|
||
|
|
"fieldName": "sourceId",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "rank",
|
||
|
|
"fieldName": "rank",
|
||
|
|
"columnType": 6,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "int"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"foreignKeys": [],
|
||
|
|
"indexes": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexDefinition",
|
||
|
|
"indexName": "dictionary_key_idx",
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "source"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "glossLanguage"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "key"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"type": "btree",
|
||
|
|
"isUnique": false,
|
||
|
|
"isPrimary": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"managed": true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"warnings": [],
|
||
|
|
"migrationApiVersion": 1
|
||
|
|
}
|