3 ms·
Some nice changes there. Namespaces make it even more easy to work with legacy databases or mixing rails tables with say wordpress which prefixes all its tables
by subbu 16y ago
Some nice changes there. Namespaces make it even more easy to work with legacy databases or mixing rails tables with say wordpress which prefixes all its tables with 'wp_'. Another nifty change w.r.t MySQL: positioning using :first => true and :after => :other_column. That allows us to keep the attributes in a nice order. Otherwise all the new columns used go below created_at and updated_at which was kind of ugly.
- dirtyhand 16y agoAwesome, the order of the DB columns was my biggest pet peeve with migrations