Sha256: 2a2eb7b462d43fee2850a579409455f870d4c800af4bda6649b3b2c7e64f9d0e
Contents?: true
Size: 456 Bytes
Versions: 9
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true class CreateFeedbackReviews < SolidusSupport::Migration[4.2] def self.up create_table :feedback_reviews do |t| t.integer :user_id t.integer :review_id, null: false t.integer :rating, default: 0 t.text :comment t.timestamps end add_index :feedback_reviews, :review_id add_index :feedback_reviews, :user_id end def self.down drop_table :feedback_reviews end end
Version data entries
9 entries across 9 versions & 1 rubygems