Sha256: 0cfa66ae33a01c5fd189ee074b2562ad16ced94ff0282341252e55bee8fce1e4
Contents?: true
Size: 404 Bytes
Versions: 9
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true class CreateReviews < SolidusSupport::Migration[4.2] def self.up create_table :reviews do |t| t.integer :product_id t.string :name t.string :location t.integer :rating t.text :title t.text :review t.boolean :approved, default: false t.timestamps end end def self.down drop_table :reviews end end
Version data entries
9 entries across 9 versions & 1 rubygems