db migration

testing live in another VM environment for self hosting

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-08-29 15:48:02 +08:00
parent 05f27e34d7
commit eec1cd22cb
6 changed files with 11 additions and 42 deletions
@@ -9,9 +9,9 @@ module.exports = {
await queryInterface.sequelize.query(`
CREATE TABLE completion_requirements (
requirement_id UUID PRIMARY KEY,
entity_type STRING NOT NULL,
entity_type TEXT NOT NULL,
entity_id BIGINT NOT NULL,
type STRING NOT NULL,
type TEXT NOT NULL,
min_percent INTEGER NULL,
button_label STRING NULL,
is_required BOOLEAN NOT NULL DEFAULT true,