Need to store group in db - what should i store to identify group?

What should I persist in the db to identify a group?

I may need to migrate this to another system IE: Dev to Test

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to johnf9317

    Gotcha.  You'll just need to design around the Group ID being different when deployed, then.  One helpful thing here is, you can create constants that refer to each group in question (assuming your collection of groups will be static and pre-set, versus dynamic and procedurally-created), and of course a constant's group reference will persist between environments, and regardless of which environment you're in, will return the correct Group ID for that environment when you reference it.

Children