Sha256: 7d499a55eb21e3c6a75ff785ddf55154ed2a5cee1ad2ce2286d408fffada7d7a
Contents?: true
Size: 904 Bytes
Versions: 2
Compression:
Stored size: 904 Bytes
Contents
ActiveRecord::Schema.define do create_table "tags", :force => true do |t| t.string :name t.timestamps end create_table "items", :force => true do |t| t.string :value t.integer_array :tag_ids, :default => [1, 2] t.string_array :tag_names, :default => %w{as so} t.text :for_yaml end create_table "bulks", :force => true do |t| 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'] end create_table "unrelateds", :force => true do |t| t.text :for_yaml t.text :for_custom_serialize end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ar_pg_array-0.11.0 | spec/fixtures/schema.rb |
ar_pg_array-0.10.1 | spec/fixtures/schema.rb |