Sha256: fb078e90e591c7817cc44f424954af59d845ff9e474a90c5026ef723466207b5
Contents?: true
Size: 353 Bytes
Versions: 44
Compression:
Stored size: 353 Bytes
Contents
class CreateValidations < ActiveRecord::Migration def self.up create_table :validations do |t| # Context t.integer :answer_id # the answer to validate # Conditional t.string :rule # Message t.string :message t.timestamps end end def self.down drop_table :validations end end
Version data entries
44 entries across 42 versions & 3 rubygems