Sha256: 193e5e22b628bfde37d21bc8ac7643ab164e9a7bdc1995fd55bdc4fa5ec37290
Contents?: true
Size: 323 Bytes
Versions: 6
Compression:
Stored size: 323 Bytes
Contents
class HasManies < ActiveRecord::Migration def self.up create_table :has_manies 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_manies end end
Version data entries
6 entries across 6 versions & 2 rubygems