-
-
Save obelich/fdd6b9934b2b0ceeb0f1c466eb8aeddd to your computer and use it in GitHub Desktop.
Elimina la llave foranea de una tabla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_foreign_key :$Table$, name: "$Fk_name$" | |
remove_index :$Table$, column: :$column_name$ | |
remove_column :$Table$, :$column_name$, :integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment