Sha256: 665c63f487906ceb6d01710bdcd9134d5f014e1327d1c4672cbc2c2a32f605f5
Contents?: true
Size: 493 Bytes
Versions: 9
Compression:
Stored size: 493 Bytes
Contents
class SetUpTestingDb < ActiveRecord::Migration 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