Sha256: 6689b8bc8b71e9520d9487e22589a399c156eebe49e7d1f799e8488b062bce97
Contents?: true
Size: 529 Bytes
Versions: 13
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems