- mail_settings_controller for setting smtp settings - added view ror rjecting dataset for editor - added new model AppConfig for stroing appwide config values - better validate_chesum.ts command with process chunking - added vue3 apps 'BasicSettings' like email, profile settings - started with 2 multilingual capabilities - npm updates
This commit is contained in:
parent
010bead723
commit
b06ccae603
67 changed files with 7820 additions and 1463 deletions
22
database/migrations/1723813974183_create_appconfigs_table.ts
Normal file
22
database/migrations/1723813974183_create_appconfigs_table.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
// node ace make:migration appconfig
|
||||
import { BaseSchema } from '@adonisjs/lucid/schema';
|
||||
|
||||
export default class extends BaseSchema {
|
||||
protected tableName = 'appconfigs';
|
||||
|
||||
async up() {
|
||||
this.schema.createTable(this.tableName, (table) => {
|
||||
table.increments('id');
|
||||
table.string('appid', 32).notNullable();
|
||||
table.string('configkey', 64).notNullable();
|
||||
table.text('configvalue');
|
||||
table.bigInteger('type');
|
||||
table.smallint('lazy');
|
||||
table.unique(['appid', 'configkey']) // Unique constraint on the combination
|
||||
});
|
||||
}
|
||||
|
||||
async down() {
|
||||
this.schema.dropTable(this.tableName);
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue