Skip to content

Instantly share code, notes, and snippets.

View polyglotdev's full-sized avatar
🔮
Focusing

Dom Hallan polyglotdev

🔮
Focusing
View GitHub Profile

Dropping Migration Table, Models, Controller

Command Line

1. Drop Table/Migration

rails generate migration DropTablename

A file will be created, in the db > migrate folder, make sure it looks like: