Add TODO(opensource) comments for future reference
This commit is contained in:
parent
a644ec1caa
commit
97a80e7c4f
|
@ -4,6 +4,8 @@
|
||||||
# creates a new empty one, runs the initial migration to create the schema,
|
# creates a new empty one, runs the initial migration to create the schema,
|
||||||
# and then imports actual db content on top of that.
|
# 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)
|
THIS_PATH=$(pwd)
|
||||||
BETA_PATH='/mnt/c/Users/bvisn/Developer/handmade/handmade-beta'
|
BETA_PATH='/mnt/c/Users/bvisn/Developer/handmade/handmade-beta'
|
||||||
|
|
||||||
|
|
|
@ -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.
|
// 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
|
// Creates only what's necessary for a fresh deployment with no data
|
||||||
|
// TODO(opensource)
|
||||||
func BareMinimumSeed() {
|
func BareMinimumSeed() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE(asaf): This will be useful for open-sourcing the website, but is not yet necessary.
|
// NOTE(asaf): This will be useful for open-sourcing the website, but is not yet necessary.
|
||||||
// Creates enough data for development
|
// Creates enough data for development
|
||||||
|
// TODO(opensource)
|
||||||
func SampleSeed() {
|
func SampleSeed() {
|
||||||
// admin := CreateAdminUser("admin", "12345678")
|
// admin := CreateAdminUser("admin", "12345678")
|
||||||
// user := CreateUser("regular_user", "12345678")
|
// user := CreateUser("regular_user", "12345678")
|
||||||
|
|
Loading…
Reference in New Issue