Sha256: 9ceb10db8c4d817502fbe2c32102bd47ab45b518aebfb4aeff991a061bd2ee0c
Contents?: true
Size: 274 Bytes
Versions: 1
Compression:
Stored size: 274 Bytes
Contents
class DropRedundantColumnsFromProducts < ActiveRecord::Migration[5.0] def change remove_column :kms_products, :price, :decimal, precision: 12, scale: 2 remove_column :kms_products, :image, :string remove_column :kms_products, :preview_image, :string end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kms_catalog-0.5.0 | db/migrate/20170112140822_drop_redundant_columns_from_products.rb |