scribe/tasks/db/seed/required_data.cr
Edward Loveall fcf3eb14d0
Initial app
2021-05-01 17:03:38 -04:00

14 lines
371 B
Crystal

require "../../../spec/support/factories/**"
class Db::Seed::RequiredData < LuckyTask::Task
summary "Add database records required for the app to work"
def call
# Avram::Factory:
# UserFactory.create &.email("me@example.com")
# SaveOperation:
# SaveUser.create!(email: "me@example.com", name: "Jane")
puts "Done adding required data"
end
end