Sha256: 3a4085f08da1ac9330422476fa85aef2409ae48af1fd0d5d945ba277dc7c426f

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def change
    create_table :people do |t|
      t.column    :ip, :inet
      t.column    :subnet, :cidr
      t.integer :tag_ids, :array => true
      t.string  :tags, :array => true
      t.text    :biography
      t.integer :lucky_number
      t.column  :num_range, :numrange

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
postgres_ext-2.1.3 spec/dummy/db/migrate/20120501163758_create_people.rb
postgres_ext-2.1.2 spec/dummy/db/migrate/20120501163758_create_people.rb
postgres_ext-2.1.1 spec/dummy/db/migrate/20120501163758_create_people.rb
postgres_ext-2.1.0 spec/dummy/db/migrate/20120501163758_create_people.rb
postgres_ext-2.0.0 spec/dummy/db/migrate/20120501163758_create_people.rb