Sha256: 42212a74d3b4885b98cdce547881a9705e0a3db6527ca7860349dd85446b0d4b

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def change
    create_table :people do |t|
      t.inet :ip
      t.cidr :subnet, :subnet2
      t.integer :arrayzerd, :array => true
      t.inet :inet_arrayzerd, :array => true
      t.string :str_arrayzerd, :array => true, :limit => 5
      t.string :test

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
postgres_ext-0.1.0 spec/dummy/db/migrate/20120501163758_create_people.rb
postgres_ext-0.0.10 spec/dummy/db/migrate/20120501163758_create_people.rb