Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # forward migration
- alter table(:posts) do
- rename :new_posts
- end
- # backward migration logically would equal
- alter table(:new_posts) do
- rename :posts
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement