mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
0a76d82a7c
Summary: Ref T1812. I think integer constants are going to be confusing and error prone for users to interact with. For example, because we use 0-5, adding a second "open" status like "needs verification" without disrupting the existing statuses would require users to define a status with, e.g., constant `6`, but order it between constants `0` and `1`. And if they later remove statuses, they need to avoid reusing existing constants. Instead, use more manageable string constants like "open", "resolved", etc. We must migrate three tables: - The task table itself, to update task status. - The transaction table, to update historic status changes. - The saved query table, to update saved queries which specify status sets. Test Plan: - Saved a query with complicated status filters. - Ran migrations. - Looked at the query, at existing tasks, and at task transactions. - Forced migrations to run again to verify idempotentcy/safety. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T1812 Differential Revision: https://secure.phabricator.com/D8583 |
||
---|---|---|
.. | ||
20140104.harbormastercmd.sql | ||
20140106.macromailkey.1.sql | ||
20140106.macromailkey.2.php | ||
20140108.ddbpname.1.sql | ||
20140108.ddbpname.2.php | ||
20140109.ddxactions.sql | ||
20140109.projectcolumnsdates.sql | ||
20140113.legalpadsig.1.sql | ||
20140113.legalpadsig.2.php | ||
20140115.auth.1.id.sql | ||
20140115.auth.2.expires.sql | ||
20140115.auth.3.unlimit.php | ||
20140115.legalpadsigkey.sql | ||
20140116.reporefcursor.sql | ||
20140126.diff.1.parentrevisionid.sql | ||
20140126.diff.2.repositoryphid.sql | ||
20140130.dash.1.board.sql | ||
20140130.dash.2.panel.sql | ||
20140130.dash.3.boardxaction.sql | ||
20140130.dash.4.panelxaction.sql | ||
20140130.mail.1.retry.sql | ||
20140130.mail.2.next.sql | ||
20140201.gc.1.mailsent.sql | ||
20140201.gc.2.mailreceived.sql | ||
20140205.cal.1.rename.sql | ||
20140205.cal.2.phid-col.sql | ||
20140205.cal.3.phid-mig.php | ||
20140205.cal.4.phid-key.sql | ||
20140210.herald.rule-condition-mig.php | ||
20140210.projcfield.1.blurb.php | ||
20140210.projcfield.2.piccol.sql | ||
20140210.projcfield.3.picmig.sql | ||
20140210.projcfield.4.memmig.sql | ||
20140211.dx.1.nullablechangesetid.sql | ||
20140211.dx.2.migcommenttext.php | ||
20140211.dx.3.migsubscriptions.sql | ||
20140212.dx.1.armageddon.php | ||
20140218.differentialdraft.sql | ||
20140218.passwords.1.extend.sql | ||
20140218.passwords.2.prefix.sql | ||
20140218.passwords.3.vcsextend.sql | ||
20140218.passwords.4.vcs.php | ||
20140223.bigutf8scratch.sql | ||
20140224.dxclean.1.datecommitted.sql | ||
20140226.dxcustom.1.fielddata.php | ||
20140228.dxcomment.1.sql | ||
20140305.diviner.1.slugcol.sql | ||
20140305.diviner.2.slugkey.sql | ||
20140311.mdroplegacy.sql | ||
20140314.projectcolumn.1.statuscol.sql | ||
20140314.projectcolumn.2.statuskey.sql | ||
20140317.mupdatedkey.sql | ||
20140321.mstatus.1.col.sql | ||
20140321.mstatus.2.mig.php |