DEV Community

loading...

Discussion on: Let's Build An Instagram Clone With The PETAL(Phoenix, Elixir, TailwindCSS, AlpineJS, LiveView) Stack [PART 3]

Collapse
johankool profile image
Johan Kool

Thanks again! I think I found a typo in one command:

$ mix phx.gen.schema Accounts.Follows accounts_follows follower_id:references:user followed_id:references:user

whereas I think that should be

$ mix phx.gen.schema Accounts.Follows accounts_follows follower_id:references:users followed_id:references:users

Twice s after users added.

Collapse
johankool profile image
Johan Kool

And a g is missing after: field :full_name, :strin.

Collapse
elixirprogrammer profile image
Anthony Gonzalez Author

Fixed! Thanks for pointing that out!

Forem Open with the Forem app