Add TODO(opensource) comments for future reference

This commit is contained in:
Ben Visness 2021-04-16 18:04:01 -05:00
parent a644ec1caa
commit 97a80e7c4f
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@
# creates a new empty one, runs the initial migration to create the schema,
# and then imports actual db content on top of that.
# TODO(opensource): We should adapt Asaf's seedfile command and then delete this.
THIS_PATH=$(pwd)
BETA_PATH='/mnt/c/Users/bvisn/Developer/handmade/handmade-beta'

View File

@ -330,11 +330,13 @@ func SeedFromFile(seedFile string, afterMigration types.MigrationVersion) {
// NOTE(asaf): This will be useful for open-sourcing the website, but is not yet necessary.
// Creates only what's necessary for a fresh deployment with no data
// TODO(opensource)
func BareMinimumSeed() {
}
// NOTE(asaf): This will be useful for open-sourcing the website, but is not yet necessary.
// Creates enough data for development
// TODO(opensource)
func SampleSeed() {
// admin := CreateAdminUser("admin", "12345678")
// user := CreateUser("regular_user", "12345678")