mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-31 03:48:03 +01:00
Fix translation table name
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import BaseSchema from '@ioc:Adonis/Lucid/Schema'
|
import BaseSchema from '@ioc:Adonis/Lucid/Schema'
|
||||||
|
|
||||||
export default class Translations extends BaseSchema {
|
export default class Translations extends BaseSchema {
|
||||||
protected tableName = 'translation'
|
protected tableName = 'translations'
|
||||||
|
|
||||||
public async up () {
|
public async up () {
|
||||||
this.schema.createTable(this.tableName, (table) => {
|
this.schema.createTable(this.tableName, (table) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user