Skip to content

Instantly share code, notes, and snippets.

@berellevy
Created August 19, 2020 12:31
Show Gist options
  • Save berellevy/ea586cb078ad63939c9cdc4ce04ecf72 to your computer and use it in GitHub Desktop.
Save berellevy/ea586cb078ad63939c9cdc4ce04ecf72 to your computer and use it in GitHub Desktop.
class RemoveCartIdFromCartItems < ActiveRecord::Migration[6.0]
def change
remove_column :cart_items, :cart_id
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment