Sha256: 418a0abebbff12b5210bb622d19183331ec796288860055c75b7cecd89994944
Contents?: true
Size: 460 Bytes
Versions: 23
Compression:
Stored size: 460 Bytes
Contents
class CreateScoresAndPoints < ActiveRecord::Migration[5.0] 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
23 entries across 23 versions & 2 rubygems