Sha256: 4f1cda3e9f2bf6f5ae3f4063a46206f13dd199c32a661f1b0a52da5a892ed5b9

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

class BelongsTos < ActiveRecord::Migration
  def self.up
    create_table :belongs_tos do |t|
      t.string :string, :default => 'string'
      t.integer :integer, :default => '1'
      t.datetime :restored_at
      t.timestamps
    end
  end

  def self.down
    drop_table :belongs_tos
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
acts_as_archive-0.4.1 spec/fixtures/db/migrate/001_belongs_tos.rb
rylwin-acts_as_archive-0.4.0 spec/fixtures/db/migrate/001_belongs_tos.rb
acts_as_archive-0.4.0 spec/fixtures/db/migrate/001_belongs_tos.rb
acts_as_archive-0.3.4 spec/fixtures/db/migrate/001_belongs_tos.rb
acts_as_archive-0.3.3 spec/fixtures/db/migrate/001_belongs_tos.rb
acts_as_archive-0.3.2 spec/fixtures/db/migrate/001_belongs_tos.rb