Files
x-stake/db/seeds.rb
João Geonizeli 38b60ca0fa add balance entity
2021-08-11 09:28:42 -03:00

19 lines
351 B
Ruby

# frozen_string_literal: true
AdminUser.create(email: "admin@example.com", password: "password")
user = User.create!(
first_name: "Test",
last_name: "User",
email: "user@example.com",
password: "password"
)
currency = Currency.create!(name: "CAKE")
Balance.create!(
user_id: user.id,
currency_id: currency.id,
amount: 153124.72088
)