Sha256: e17bdb1839a23104c67d729379afbd7ed12a4a598a6388a7789fcf0b54ebdfbd

Contents?: true

Size: 234 Bytes

Versions: 9

Compression:

Stored size: 234 Bytes

Contents

class CreateWatchings < ActiveRecord::Migration
  def self.up
    create_table :watchings do |t|
      t.integer :user_id
      t.integer :item_id

      t.timestamps
    end
  end

  def self.down
    drop_table :watchings
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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