rating/spec/support/migrate.rb

21 lines
530 B
Ruby
Raw Normal View History

2017-10-30 01:44:23 +00:00
# frozen_string_literal: true
2018-01-15 00:42:53 +00:00
Dir[File.expand_path('db/migrate/*.rb', __dir__)].each { |file| require file }
2019-10-03 23:06:47 +00:00
CreateRateTable.new.change
CreateRatingTable.new.change
2017-11-02 18:55:46 +00:00
CreateArticlesTable.new.change
2017-11-03 02:02:23 +00:00
CreateAuthorsTable.new.change
2018-03-05 23:26:50 +00:00
CreateGlobalsTable.new.change
2017-11-02 18:55:46 +00:00
CreateCategoriesTable.new.change
2018-03-05 23:26:50 +00:00
2018-02-08 22:44:39 +00:00
CreateCommentsTable.new.change
2019-10-03 23:06:47 +00:00
2018-02-08 15:29:20 +00:00
CreateReviewRatingsTable.new.change
CreateReviewsTable.new.change
2019-10-03 23:06:47 +00:00
2018-01-26 21:32:45 +00:00
AddCommentOnRatingRatesTable.new.change
2019-10-03 23:06:47 +00:00
AddExtraScopesOnRatingRatesTable.new.change if ENV['CONFIG_ENABLED_WITH_EXTRA_SCOPES'] == 'true'