Sha256: 69315c7607ac0c7984786db81cde90d6f4a1bee034efb41da04a2fb6815c962d
Contents?: true
Size: 363 Bytes
Versions: 6
Compression:
Stored size: 363 Bytes
Contents
class HasOneThroughThroughs < ActiveRecord::Migration def self.up create_table :has_one_through_throughs do |t| t.string :string, :default => 'string' t.integer :integer, :default => '1' t.integer :record_id t.datetime :restored_at t.timestamps end end def self.down drop_table :has_one_through_throughs end end
Version data entries
6 entries across 6 versions & 2 rubygems