Sha256: ae084ad242b6b2f9956fe8735aadbfeefeb161e372649eb78a463e9db234573d

Contents?: true

Size: 292 Bytes

Versions: 22

Compression:

Stored size: 292 Bytes

Contents

class ChangeUsedModelToValidates < ActiveRecord::Migration[5.2]
  def change
    change_column :used_models, :account_id, :integer, null: false
    change_column :used_models, :unit_id, :integer, null: false
    change_column :used_models, :slug, :string, null: false, unique: true
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
apicasso-0.7.3 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.7.2 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.7.1 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.7.0 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.8 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.7 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.6 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.5 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.4 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.3 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.2 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.1 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.6.0 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.5.2 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.5.1 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.5.0 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.4.11 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.4.10 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.4.9 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.4.8 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb