Sha256: 449c9a865f89dcd2a0cafe74da8cf092cbfcd70367f71f06b0440fb251fc92c0
Contents?: true
Size: 321 Bytes
Versions: 16
Compression:
Stored size: 321 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
16 entries across 16 versions & 1 rubygems