Sha256: 3b0b29a9ad563bb32a694c3a4176d9e964cf84f90bc85f9b1c27951d3216912f
Contents?: true
Size: 316 Bytes
Versions: 8
Compression:
Stored size: 316 Bytes
Contents
class AddRatingAndCategoryToAccounts < ActiveRecord::Migration[4.2] def self.up add_column :accounts, :rating, :integer, default: 0, null: false add_column :accounts, :category, :string, limit: 32 end def self.down remove_column :accounts, :category remove_column :accounts, :rating end end
Version data entries
8 entries across 8 versions & 1 rubygems