Sha256: df7b87a7a222cce14599138b561efa1b3861b95b35ee589d231aff0d8153f7c6
Contents?: true
Size: 455 Bytes
Versions: 47
Compression:
Stored size: 455 Bytes
Contents
class CreateScoresAndPoints < ActiveRecord::Migration def self.up create_table :merit_scores do |t| t.references :sash t.string :category, :default => 'default' end create_table :merit_score_points do |t| t.references :score t.integer :num_points, :default => 0 t.string :log t.datetime :created_at end end def self.down drop_table :merit_scores drop_table :merit_score_points end end
Version data entries
47 entries across 30 versions & 1 rubygems