This project is archived and is in readonly mode.

#1923 ✓resolved
Ken Collins

Use #table_exists? In initialize_schema_migrations_table

Reported by Ken Collins | February 9th, 2009 @ 08:31 PM | in 2.x

Use table_exists? in #initialize_schema_migrations_table vs hand-rolled tables.detect so that adapter specific implementations can do the leg work of finding out if the schema_info/migration tables really does exist.

Adapters like SQL Server it is common to have a 'dbo.' table name prefix for the user and this causes the migrations to bomb unless we manually specify schema_migrations_table_name to return the correct name.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages