Sha256: c01d7d8e9ea8f5408473ade712f97ed2c6d5e187a5a025703eb3261d63d88ed4
Contents?: true
Size: 498 Bytes
Versions: 9
Compression:
Stored size: 498 Bytes
Contents
class SetUpTestingDb < ActiveRecord::Migration[5.0] def change create_table :products do |t| t.jsonb :options t.jsonb :data t.string :string_type t.integer :integer_type t.integer :product_category_id t.boolean :boolean_type t.float :float_type t.time :time_type t.date :date_type t.datetime :datetime_type t.decimal :decimal_type end create_table :product_categories do |t| t.jsonb :options end end end
Version data entries
9 entries across 9 versions & 1 rubygems