fix: spec tables creator path
parent
4919da1f52
commit
de3ac30c24
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
require File.expand_path('../../lib/generators/rating/templates/db/migrate/create_rating_tables.rb', __dir__)
|
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
|
CreateArticlesTable.new.change
|
||||||
CreateAuthorsTable.new.change
|
CreateAuthorsTable.new.change
|
||||||
CreateCategoriesTable.new.change
|
CreateCategoriesTable.new.change
|
||||||
|
|
Loading…
Reference in New Issue