Actions
Refactor #14025
closedSpecify string column limits
Pull request:
Fixed in Releases:
Found in Releases:
Description
In Rails 4.2 the default limit for PostgreSQL and SQLite adapters
changes to unlimited from 255 characters. MySQL remains at 255 chars.
Existing migrations should be changed to specify the length, e.g.
t.column :name, :string, :null => false, :limit => 255
This will ensure that the schema generated on a new installation exactly
matches the schema from an old installation, so there won't be varying
versions of the schema in the wild.
Updated by David Davis over 8 years ago
- Related to Refactor #13897: Explicitly set :limit on all DB migrations adding string columns added
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5837 added
Updated by David Davis over 8 years ago
- Translation missing: en.field_release set to 86
Updated by David Davis over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|924700524dd6990d447030dcfb92caed0c28c3f2.
Actions