Sha256: 88ae41846aeedc21a73309f14b671378404cdfa7f4bb51db25c4f601d2b4acfd

Contents?: true

Size: 194 Bytes

Versions: 9

Compression:

Stored size: 194 Bytes

Contents

class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.string :title

      t.timestamps
    end
  end

  def self.down
    drop_table :items
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
streamit-0.0.8 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.7 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.6.2 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.6.1 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.6 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.5 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.4 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.3 test/dummy/db/migrate/20110204210910_create_items.rb
streamit-0.0.1 test/dummy/db/migrate/20110204210910_create_items.rb