Skip to content

Commit

Permalink
WIP add nodes to seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Nov 28, 2023
1 parent 7dfa199 commit 31bcbfa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions priv/repo/seeds.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
#
# mix run priv/repo/seeds.exs
#
alias Radiator.Accounts
alias Radiator.Accounts.User
alias Radiator.{Accounts, Outline}

{:ok, _user} =
Accounts.register_user(%{email: "[email protected]", password: "supersupersecret"})

{:ok, _admin} =
Accounts.register_user(%{email: "[email protected]", password: "supersupersecret"})

{:ok, _node} =
Outline.create_node(%{content: "This is a node"})

0 comments on commit 31bcbfa

Please sign in to comment.