#438 √ resolved
DaveLangston

Migrations for SqLite3 Broken in Adapter

Reported by DaveLangston | July 3rd, 2008 @ 08:21 PM

2 problems:

1) primary key is not getting created in sqlite3 adapter (affects all users of migrations using DM property syntax in migration). Due to 'typo' hash key in method property_schema_statement

2) dm-migrations uses method property_schema_statement but it is 'private' in sqlite3_adapter.rb

fixes in attached patch

Comments and changes to this ticket

  • Paul Sadauskas (Rando)

    Paul Sadauskas (Rando) July 3rd, 2008 @ 09:27 PM

    • → Assigned user changed from “Sam Smoot” to “Paul Sadauskas (Rando)”
    • → State changed from “new” to “open”
    • → Tag changed from “” to “bug dm-core migrations patch”

    Thanks for this, Dave. I'm currently in the process of writing better unit specs for the migrations, and then I'm going to move all those lines littered with "TODO: Move this". I'll apply your patch, and make sure the fixes get included when I move everything.

  • Paul Sadauskas (Rando)

    Paul Sadauskas (Rando) July 3rd, 2008 @ 10:44 PM

    • → State changed from “open” to “resolved”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Shared Ticket Bins