Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

As an admin, I cannot create a new theme #370

Open
coderberry opened this issue Oct 8, 2018 · 0 comments
Open

As an admin, I cannot create a new theme #370

coderberry opened this issue Oct 8, 2018 · 0 comments
Labels
Bug Something isn't working
Projects

Comments

@coderberry
Copy link
Contributor

Here is the error I get:


    * unique: themes_template_id_slug_index

If you would like to convert this constraint into an error, please
call unique_constraint/3 in your changeset and define the proper
constraint name. The changeset defined the following constraints:

    * unique: themes_slug_template_id_index

  File "lib/ecto/repo/schema.ex", line 574, in anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
  File "lib/enum.ex", line 1314, in Enum."-map/2-lists^map/1-0-"/2
  File "lib/ecto/repo/schema.ex", line 559, in Ecto.Repo.Schema.constraints_to_errors/3
  File "lib/ecto/repo/schema.ex", line 222, in anonymous fn/14 in Ecto.Repo.Schema.do_insert/4
  File "lib/ecto/repo/schema.ex", line 774, in anonymous fn/3 in Ecto.Repo.Schema.wrap_in_transaction/6
...
(3 additional frame(s) were not displayed)```
@coderberry coderberry created this issue from a note in CodeFund (Ready for Development) Oct 8, 2018
@coderberry coderberry added the Bug Something isn't working label Oct 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
CodeFund
  
Ready for Development
Development

No branches or pull requests

1 participant