# frozen_string_literal: true require File.expand_path('../../lib/generators/rating/templates/db/migrate/create_rating_tables.rb', __dir__) Dir[File.expand_path('db/migrate/*.rb', __dir__)].each { |file| require file } CreateArticlesTable.new.change CreateAuthorsTable.new.change CreateCategoriesTable.new.change CreateRatingTables.new.change