mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
import BaseSchema from '@ioc:Adonis/Lucid/Schema'
|
|
|
|
export default class extends BaseSchema {
|
|
protected tableName = '{{#toTableName}}{{ filename }}{{/toTableName}}'
|
|
|
|
public async up () {
|
|
this.schema.alterTable(this.tableName, (table) => {
|
|
})
|
|
}
|
|
|
|
public async down () {
|
|
this.schema.alterTable(this.tableName, (table) => {
|
|
})
|
|
}
|
|
}
|