Sha256: ddda5e33524a0f41290a175eab904acc51623d0e05c8e49b6ccac5f638bac026

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

class CreateMultipleScopedItems < ActiveRecord::Migration
  def self.up
    create_table :multiple_scoped_items do |t|
      t.integer :position
      t.integer :parent_id
      t.string :tag

      t.timestamps
    end
  end

  def self.down
    drop_table :multiple_scoped_items
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aguids-positionable-0.2.1 test/rails_root/db/migrate/20090708045618_create_multiple_scoped_items.rb
aguids-positionable-0.2.2 test/rails_root/db/migrate/20090708045618_create_multiple_scoped_items.rb