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
|
||||
name Text Maybe
|
||||
desc Text Maybe
|
||||
nextTicket Int default='0'
|
||||
nextTicket Int default='1'
|
||||
|
||||
UniqueProject ident sharer
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ newProjectAForm sid = Project
|
|||
<*> pure sid
|
||||
<*> aopt textField "Name" Nothing
|
||||
<*> aopt textField "Description" Nothing
|
||||
<*> pure 0
|
||||
<*> pure 1
|
||||
|
||||
newProjectForm :: SharerId -> Form Project
|
||||
newProjectForm = renderDivs . newProjectAForm
|
||||
|
|
Loading…
Reference in a new issue