Sha256: 1f5cfcff9900b180dbec7d81adf7d12ac5d0434d4b4e197ef3ad5d24f592fbd1
Contents?: true
Size: 311 Bytes
Versions: 7
Compression:
Stored size: 311 Bytes
Contents
class AddRatingAndCategoryToAccounts < ActiveRecord::Migration 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
7 entries across 7 versions & 2 rubygems