Sha256: 8f3c6099a17f4cb13ccf8ae88cb1503d7bbf7e981602590ff2e696df51669eee
Contents?: true
Size: 737 Bytes
Versions: 3
Compression:
Stored size: 737 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} end create_table "bulks", :force => true do |t| t.string :value 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ar_pg_array-0.9.7 | spec/fixtures/schema.rb |
ar_pg_array-0.9.6 | spec/fixtures/schema.rb |
ar_pg_array-0.9.5 | spec/fixtures/schema.rb |