Sha256: a6c3e96e62d889cfcb8f65dc55b14419759e69223d85da5e910d1907e9c9ae89

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.string :name
      t.string :description
      t.timestamps
    end
  end

  def self.down
    drop_table :items
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
interlock-1.4 test/integration/app/db/migrate/001_create_items.rb
interlock-1.0 test/integration/app/db/migrate/001_create_items.rb
interlock-1.1 test/integration/app/db/migrate/001_create_items.rb
interlock-1.2 test/integration/app/db/migrate/001_create_items.rb
interlock-1.3 test/integration/app/db/migrate/001_create_items.rb