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.4.7 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb
apicasso-0.4.6 spec/dummy/db/migrate/20180920133933_change_used_model_to_validates.rb