masques icon indicating copy to clipboard operation
masques copied to clipboard

Database seeds

Open tedstein opened this issue 11 years ago • 1 comments

We need a way of running various queries just after migrations are completed.

tedstein avatar Jan 19 '14 21:01 tedstein

Just for my notes, when we are ready to write the actual seeds:

  • Create profile for user. User profile is always id 1 in profile table.
  • Create file for avatar. User's avatar is always id 1 in file table.
  • Create album for avatars. User's avatar history album is always id 1 in album table.
  • Create the following groups:
    • Default Shares. Always id 1 in grouping table.
    • Family. Unknown id. Can be deleted or edited.
    • Friends. Unknown id. Can be deleted or edited.

tedstein avatar Jan 19 '14 22:01 tedstein