import { BaseSchema } from '@adonisjs/lucid/schema'; export default class extends BaseSchema { tableName = 'profiles'; async up() { this.schema.createTable(this.tableName, (table) => { table.increments('id'); table.string('name').notNullable(); table.string('avatar_url').notNullable(); table.string('title').notNullable(); table.text('description').notNullable(); table.text('about_text').notNullable(); table.timestamp('created_at'); table.timestamp('updated_at'); }); } async down() { this.schema.dropTable(this.tableName); } } //# sourceMappingURL=1778591342684_create_profiles_table.js.map