rating/spec/support/migrate.rb

9 lines
264 B
Ruby

# frozen_string_literal: true
require File.expand_path('../../lib/generators/rating/templates/db/migrate/create_rating_tables.rb', __dir__)
CreateArticlesTable.new.change
CreateCategoriesTable.new.change
CreateRatingTables.new.change
CreateUsersTable.new.change