Sayuj
Sayuj

Reputation: 7622

"schema_migrations" table for data mapper migrations

I am using datamapper instead of activerecord for my Rails App. I want to see the version details, but I can't see the schema_migrations table any where. What should I do?

Upvotes: 0

Views: 304

Answers (1)

postmodern
postmodern

Reputation: 454

If you use explicit migrations with dm-migrations, it will create a migration_info table that contains the migration names.

CREATE TABLE "migration_info" ("migration_name" VARCHAR(255) UNIQUE);

Upvotes: 1

Related Questions