Sha256: 3b8a9425594eb358dd51915901420d181589ad3c130dd525e00f033c5698695d
Contents?: true
Size: 317 Bytes
Versions: 6
Compression:
Stored size: 317 Bytes
Contents
class HasOnes < ActiveRecord::Migration def self.up create_table :has_ones 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_ones end end
Version data entries
6 entries across 6 versions & 2 rubygems