139 lines
4.1 KiB
JSON
139 lines
4.1 KiB
JSON
|
|
{
|
||
|
|
"__className__": "serverpod.DatabaseMigration",
|
||
|
|
"actions": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
||
|
|
"type": "createTable",
|
||
|
|
"createTable": {
|
||
|
|
"__className__": "serverpod.TableDefinition",
|
||
|
|
"name": "dictionary_search_key",
|
||
|
|
"dartName": "DictionarySearchKey",
|
||
|
|
"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": "loose",
|
||
|
|
"fieldName": "loose",
|
||
|
|
"columnType": 1,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "bool"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "start1",
|
||
|
|
"fieldName": "start1",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "start2",
|
||
|
|
"fieldName": "start2",
|
||
|
|
"columnType": 0,
|
||
|
|
"isNullable": false,
|
||
|
|
"dartType": "String"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.ColumnDefinition",
|
||
|
|
"name": "start3",
|
||
|
|
"fieldName": "start3",
|
||
|
|
"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_search_key_start_idx",
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "source"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "glossLanguage"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "start1"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "start2"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"__className__": "serverpod.IndexElementDefinition",
|
||
|
|
"type": 0,
|
||
|
|
"definition": "start3"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"type": "btree",
|
||
|
|
"isUnique": false,
|
||
|
|
"isPrimary": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"managed": true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"warnings": [],
|
||
|
|
"migrationApiVersion": 1
|
||
|
|
}
|