Sha256: 0f979868e97bad9c2eb47192d99d7f8d3637f397b83f41b53506be85f425a210

Contents?: true

Size: 227 Bytes

Versions: 9

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

class AddUserToReviews < SolidusSupport::Migration[4.2]
  def self.up
    add_column :reviews, :user_id, :integer, null: true
  end

  def self.down
    remove_column :reviews, :user_id
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solidus_reviews-1.7.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.6.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.5.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.4.1 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.4.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.3.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.2.0 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.1.1 db/migrate/20110606150524_add_user_to_reviews.rb
solidus_reviews-1.1.0 db/migrate/20110606150524_add_user_to_reviews.rb