0

Is there a method in Laravel 5.4 to add a column after/before another column inside a sqlite table? Like after('column') for MySql?

Why I'm in a hurry is because whenever I tried to rename a column using Laravel migration, it jumps and stick to the last / end of a table!

Is there a way to get rid out of this?

2

1 Answer 1

1

Short answer: no.

However there is apparently a workaround:

Insert new column into table in sqlite?

Disclaimer: I rarely use sqlite and cannot verify this works. Good luck.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.