mirror of
https://code.naskya.net/repos/ndqEd
synced 2025-03-20 15:14:54 +09:00
Switch from persistent-parser to my own parser module
My parser doesn't support default=, and I think it's safe to assume nobody is running an instance whose DB schema version is one of those first 5 where default= exists, so I'm remvoing it from the original 2016 model file. The unset-default migrations remain, and I checked in `psql` that PostgreSQL accepts the operation on columns that don't have a default value. If it turns out to be a problem, I can replace those migrations with no-op ones.
This commit is contained in:
parent
a6bfb0cf36
commit
08ca211842
2 changed files with 5 additions and 5 deletions
migrations
|
@ -19,7 +19,7 @@
|
|||
Sharer
|
||||
ident ShrIdent
|
||||
name Text Maybe
|
||||
created UTCTime default=now()
|
||||
created UTCTime
|
||||
|
||||
UniqueSharer ident
|
||||
|
||||
|
@ -138,7 +138,7 @@ Project
|
|||
sharer SharerId
|
||||
name Text Maybe
|
||||
desc Text Maybe
|
||||
nextTicket Int default=1
|
||||
nextTicket Int
|
||||
wiki RepoId Maybe
|
||||
|
||||
UniqueProject ident sharer
|
||||
|
@ -146,10 +146,10 @@ Project
|
|||
Repo
|
||||
ident RpIdent
|
||||
sharer SharerId
|
||||
vcs VersionControlSystem default='VCSGit'
|
||||
vcs VersionControlSystem
|
||||
project ProjectId Maybe
|
||||
desc Text Maybe
|
||||
mainBranch Text default='master'
|
||||
mainBranch Text
|
||||
|
||||
UniqueRepo ident sharer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue