2017-10-30 01:44:23 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-02-08 17:06:13 +00:00
|
|
|
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
|
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
|
2018-02-08 17:06:13 +00:00
|
|
|
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
|