Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove support for integer_array and string_array columns

  • Loading branch information...
commit a7a658d25184179b6a25d33a198f9eac3f5f6de3 1 parent 2d42ce4
@kbrock authored
View
6 spec/dummy/db/migrate/20120501163758_create_people.rb
@@ -3,9 +3,9 @@ def change
create_table :people do |t|
t.inet :ip
t.cidr :subnet, :subnet2
- t.integer_array :arrayzerd
- t.inet_array :inet_arrayzerd
- t.string_array :str_arrayzerd, :limit => 5
+ t.integer :arrayzerd, :array => true
+ t.inet :inet_arrayzerd, :array => true
+ t.string :str_arrayzerd, :array => true, :limit => 5
t.string :test
t.timestamps
View
24 spec/dummy/db/schema.rb
@@ -13,20 +13,18 @@
ActiveRecord::Schema.define(:version => 20120501163758) do
- create_table "people", :force => true do |t|
- t.inet "ip"
- t.cidr "subnet"
- t.cidr "subnet2"
- t.integer_array "arrayzerd"
- t.inet_array "inet_arrayzerd"
- t.string_array "str_arrayzerd", :limit => 5
- t.string "test"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- end
+ add_extension "hstore"
- create_table "test", :id => false, :force => true do |t|
- t.string "test_a"
+ create_table "people", :force => true do |t|
+ t.inet "ip"
+ t.cidr "subnet"
+ t.cidr "subnet2"
+ t.integer "arrayzerd", :array => true
+ t.inet "inet_arrayzerd", :array => true
+ t.string "str_arrayzerd", :limit => 5, :array => true
+ t.string "test"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.