Does anyone know of a way to do this?
I have an existing table that I created with sql and I would like to create a schema from it that would reproduce the table (minus the data)
rake db:schema:dump
create_table
lines from the schema dump and paste it into the migration fileIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With