def self.up
remove_index :snapshots, :name => 'snapshots_qualifier'
- change_column('snapshots', 'qualifier', :string, :limit => 10, :null => false)
+ change_column('snapshots', 'qualifier', :string, :limit => 10, :null => true)
add_index :snapshots, :qualifier, :name => 'snapshots_qualifier'
end
class FixSizeOfSnapshotsScope < ActiveRecord::Migration
def self.up
- change_column('snapshots', 'scope', :string, :limit => 3, :null => false)
+ change_column('snapshots', 'scope', :string, :limit => 3, :null => true)
end
end