- add requirements for units, sergeants, buildings and weapons - add uiIndexHint for units, buildings, researches and addons - add addon affects - improve campaign entities clear - add dds converter definitive edition - add all files lowercase function before mod parse - add addon modifiers info - add advanced build menu grid
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"databaseChangeLog": [
|
|
{
|
|
"changeSet": {
|
|
"id": "Add weapon_requirements table",
|
|
"author": "anibus",
|
|
"changes": [
|
|
{
|
|
"createTable": {
|
|
"tableName": "weapon_requirements",
|
|
"columns": [
|
|
{
|
|
"column": {
|
|
"name": "id",
|
|
"type": "int",
|
|
"autoIncrement": true,
|
|
"constraints": {
|
|
"primaryKey": true,
|
|
"nullable": false
|
|
}
|
|
}
|
|
},{
|
|
"column": {
|
|
"name": "reference",
|
|
"type": "varchar(255)"
|
|
}
|
|
},{
|
|
"column": {
|
|
"name": "value",
|
|
"type": "varchar(255)"
|
|
}
|
|
},{
|
|
"column": {
|
|
"name": "weapon_id",
|
|
"type": "int",
|
|
"constraints": {
|
|
"nullable": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"addForeignKeyConstraint":
|
|
{
|
|
"baseColumnNames": "weapon_id",
|
|
"baseTableName": "weapon_requirements",
|
|
"constraintName": "fk_weapon_requirements_buildings",
|
|
"referencedColumnNames": "id",
|
|
"referencedTableName": "weapons",
|
|
"onDelete": "CASCADE"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|