rating/spec/support/migrate.rb

12 lines
386 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_tables.rb', __dir__)
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
2017-10-30 01:44:23 +00:00
CreateRatingTables.new.change
2018-01-26 21:32:45 +00:00
AddCommentOnRatingRatesTable.new.change