Replies: 1 comment
-
you can try something like this in your migration file public async up () {
this.schema.table(this.tableName, (table) => {
table.dropColumn('column')
table.text('column')
})
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need someone to explain how to alter a table using these migration files? Either some code snippets or theoretical.
Beta Was this translation helpful? Give feedback.
All reactions