rating/spec/support/migrate.rb

18 lines
659 B
Ruby
Raw Normal View History

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