First ticket number should be 1, not 0
This commit is contained in:
parent
bc17dc78dd
commit
349d089019
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ Project
|
||||||
sharer SharerId
|
sharer SharerId
|
||||||
name Text Maybe
|
name Text Maybe
|
||||||
desc Text Maybe
|
desc Text Maybe
|
||||||
nextTicket Int default='0'
|
nextTicket Int default='1'
|
||||||
|
|
||||||
UniqueProject ident sharer
|
UniqueProject ident sharer
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ newProjectAForm sid = Project
|
||||||
<*> pure sid
|
<*> pure sid
|
||||||
<*> aopt textField "Name" Nothing
|
<*> aopt textField "Name" Nothing
|
||||||
<*> aopt textField "Description" Nothing
|
<*> aopt textField "Description" Nothing
|
||||||
<*> pure 0
|
<*> pure 1
|
||||||
|
|
||||||
newProjectForm :: SharerId -> Form Project
|
newProjectForm :: SharerId -> Form Project
|
||||||
newProjectForm = renderDivs . newProjectAForm
|
newProjectForm = renderDivs . newProjectAForm
|
||||||
|
|
Loading…
Reference in a new issue