refactor(nestjs): organization build

This commit is contained in:
Ahmed Bouhuolia
2025-04-02 12:01:38 +02:00
parent ed81d4c1e0
commit f11b09cd87
125 changed files with 2769 additions and 178 deletions

View File

@@ -0,0 +1,13 @@
exports.up = function (knex) {
return knex.schema.createTable('settings', (table) => {
table.increments();
table.integer('user_id').unsigned().index();
table.string('group').index();
table.string('type');
table.string('key').index();
table.string('value');
}).raw('ALTER TABLE `SETTINGS` AUTO_INCREMENT = 2000');
};
exports.down = (knex) => knex.schema.dropTableIfExists('settings');