imdrasil / jennifer_sqlite3_adapter

SQLite3 adapter for Jennifer ORM
MIT License
13 stars 7 forks source link

Support upper or mixed case schema types from existing databases. #9

Closed didactic-drunk closed 5 years ago

imdrasil commented 5 years ago

Describe the use-case of this downcasing

didactic-drunk commented 5 years ago

Existing tables created by another tool use upper case names. When attempting to add_index the table is recreated but errors because the type matching is case sensitive.

didactic-drunk commented 5 years ago

Even specifying your own type cut and paste from Sqlite examples. Try 'INT PRIMARY KEY' then use .change_table.

imdrasil commented 5 years ago

@didactic-drunk will merge after rebase