Created
August 9, 2012 15:08
-
-
Save runejuhl/3305008 to your computer and use it in GitHub Desktop.
boss_db unique constraint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4> T = tag:new(id, "erlang", false). | |
{tag,id,"erlang",false} | |
5> T:save(). | |
{error,{error,error,<<"23505">>, | |
<<"duplicate key value violates unique constraint \"tags_name_key\"">>, | |
[{detail,<<"Key (name)=(erlang) already exists.">>}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment