Sha256: a7fbb9c1942e44048aac108289af4390f6b7ae75fbfff50df9d12673e82fc1e7
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
class IncreaseBacklogNameLimit < ActiveRecord::Migration def self.up change_column :backlogs, :name, :string, :limit => 64, :null => false end def self.down execute "UPDATE backlogs SET name = SUBSTR(name, 0, 33)" change_column :backlogs, :name, :string, :limit => 32, :null => false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
backlog-0.37.2 | db/migrate/017_increase_backlog_name_limit.rb |
backlog-0.37.1 | db/migrate/017_increase_backlog_name_limit.rb |