feat(bisaya): implement child marriage proposal and wooing features, update age rules and relationships
All checks were successful
Deploy to production / deploy (push) Successful in 3m15s
All checks were successful
Deploy to production / deploy (push) Successful in 3m15s
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
async up(queryInterface) {
|
||||
await queryInterface.sequelize.query(`
|
||||
ALTER TABLE falukant_data.party
|
||||
ADD COLUMN IF NOT EXISTS relationship_id INTEGER NULL
|
||||
REFERENCES falukant_data.relationship(id) ON DELETE SET NULL;
|
||||
CREATE INDEX IF NOT EXISTS party_relationship_id_idx
|
||||
ON falukant_data.party (relationship_id);
|
||||
`);
|
||||
},
|
||||
async down(queryInterface) {
|
||||
await queryInterface.sequelize.query(`ALTER TABLE falukant_data.party DROP COLUMN IF EXISTS relationship_id;`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user