Initial commit

This commit is contained in:
Rutra
2026-02-25 00:34:39 +01:00
commit 54b0fc3485
178 changed files with 12761 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { BaseSchema } from '@adonisjs/lucid/schema';
export default class extends BaseSchema {
tableName = 'experience_project';
async up() {
this.schema.createTable(this.tableName, (table) => {
table.increments('id');
table.integer('project_id').unsigned().references('projects.id').onDelete('CASCADE');
table.integer('experience_id').unsigned().references('experiences.id').onDelete('CASCADE');
table.unique(['project_id', 'experience_id']);
table.timestamp('created_at');
table.timestamp('updated_at');
});
}
async down() {
this.schema.dropTable(this.tableName);
}
}
//# sourceMappingURL=1771413376813_create_create_project_experiences_table.js.map