mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 17:51:39 -05:00
12 lines
236 B
Ruby
12 lines
236 B
Ruby
# frozen_string_literal: true
|
|
|
|
return if User.any?
|
|
|
|
User.create!(
|
|
email: 'user@domain.com',
|
|
password: 'password',
|
|
password_confirmation: 'password',
|
|
admin: true
|
|
)
|
|
|
|
puts "User created: #{User.first.email} / password: 'password'"
|