Sha256: dbf5318b4f38c9af2d45d0b0dba268626a2f9a428f1b4e77707b5540acd4eacb

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

class ChangeAssetsTable < ActiveRecord::Migration
  def change
    change_column :assets ,:is_new, :boolean , :default => true
    change_column :assets ,:is_traded, :boolean , :default => true
    change_column :assets ,:electroic_need, :boolean , :default => true
   
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150430074555_change_assets_table.rb
pshq_engine-0.1.5 db/migrate/20150430074555_change_assets_table.rb
pshq_engine-0.0.1 db/migrate/20150430074555_change_assets_table.rb