spec/fixtures/schema.rb in ar_pg_array-0.10.1 vs spec/fixtures/schema.rb in ar_pg_array-0.10.2
- old
+ new
@@ -10,16 +10,18 @@
t.string_array :tag_names, :default => %w{as so}
t.text :for_yaml
end
create_table "bulks", :force => true do |t|
+ t.string :type, :default => "Bulk"
t.string :value, :default => "'"
t.integer_array :ints, :default => [1, 2]
t.string_array :strings, :default => %w{as so}
t.timestamp_array :times, :default => %w{2010-01-01 2010-02-01}
t.float_array :floats, :default => [1.0, 1.2]
t.decimal_array :decimals, :default => [1.0, 1.2]
t.text_array :texts, :default => [nil, 'Text', 'NULL', 'Text with nil', 'Text with , nil, !"\\', 'nil']
+ t.integer_array :empty_def, :default => []
end
create_table "unrelateds", :force => true do |t|
t.text :for_yaml
t.text :for_custom_serialize