Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Help renaming migration files! #920

Closed
shaque525 opened this issue Dec 16, 2022 · 1 comment
Closed

Need Help renaming migration files! #920

shaque525 opened this issue Dec 16, 2022 · 1 comment

Comments

@shaque525
Copy link

I have created 4 migration files, due to some constraints i had to deploy 3rd and 4th files first.. now I want to deploy the 1st and 2nd file too.. but as these 2 files were created prior.. it has older timestamp on the file name when created.. is there a way I can update timestamp for the 1st and 2nd file? So that it doesn't cause any issues

@Shinigami92
Copy link
Collaborator

right click on file -> rename (?)

in worst case, maybe make a db backup (if you have any data yet) then migrate down and up again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants