Skip to content

Rename EDITION_YEAR constant #355

Closed
Closed

Description

@waldoj

This should really be EDITION_LABEL (many legal codes aren't updated on an annual basis) and, anyhow, shouldn't this be stored in the database?

Activity

  1. krusynth commented on Aug 12, 2013

    @krusynth
    Member

    Yup - I'd treat this the same as a db migration is handled, personally.

  2. waldoj commented on Aug 22, 2013

    @waldoj
    MemberAuthor

    Commit 650d111 is a step towards addressing this.

  3. waldoj commented on Aug 22, 2013

    @waldoj
    MemberAuthor

    It's not just EDITION_YEAR that needs to change, but also editions.year within MySQL. That field now allows 16 alphanumeric characters, rather than only a year, but it remains to be renamed.

    Before settling on the "label" nomenclature, look at the terminology that we use for structural units and emulate that.

  4. ghost assigned on Sep 9, 2013
  5. krusynth commented on Sep 9, 2013

    @krusynth
    Member

    structure should probably have an edition_id also, correct? Or do we assume that structures never change?

  6. waldoj commented on Sep 9, 2013

    @waldoj
    MemberAuthor

    We definitely do not assume that structures never change...although, looking at the structure table, apparently I have been assuming that, implicitly, in code. :-/

  7. krusynth commented on Sep 9, 2013

    @krusynth
    Member

    Yup, that's what I was seeing. I'll push that in here as well.

  8. waldoj commented on Sep 9, 2013

    @waldoj
    MemberAuthor

    Thanks. :)

  9. waldoj commented on Oct 14, 2013

    @waldoj
    MemberAuthor

    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions