Commits

Liam Staskawicz  committed 6622648

dbconf: use standard .yml suffix rather than .yaml

  • Participants
  • Parent commits 04abe35

Comments (0)

Files changed (3)

File cmd/goose.go

 func main() {
 	flag.Parse()
 
-	conf, err := dbConfFromFile(path.Join(*dbFolder, "dbconf.yaml"), *dbConfName)
+	conf, err := dbConfFromFile(path.Join(*dbFolder, "dbconf.yml"), *dbConfName)
 	if err != nil {
 		log.Fatal(err)
 	}

File db-sample/dbconf.yaml

-
-test:
-    driver: postgres
-    open: user=liam dbname=tester sslmode=disable
-
-development:
-    driver: postgres
-    open: user=liam dbname=tester sslmode=disable
-    
-production:
-    driver: postgres
-    open: user=liam dbname=tester sslmode=verify-full

File db-sample/dbconf.yml

+
+test:
+    driver: postgres
+    open: user=liam dbname=tester sslmode=disable
+
+development:
+    driver: postgres
+    open: user=liam dbname=tester sslmode=disable
+    
+production:
+    driver: postgres
+    open: user=liam dbname=tester sslmode=verify-full