DuplicateMigrationNameError Basically means that there is a class already
defined with the same name
db/migrate/sometimestamp_your_migration_name.rb
class YourMigrationName < ActiveRecord::Migration
end
So give the migration file a different name and change the class name as
well along with it.
Hi,
Please help hereWhen i try to migrate database "{name}" it shows an
error says!
ActiveRecord::DuplicateMigrationNameError:...
("Multiple migrations have the name #{name}") and i'm sure i was done
with this table #{name}") previously..
surely it cannot migrate.
--
Posted via http
2 matches
Mail list logo