Something went wrong on our end. Please try again.
Created by: sqs
migrations/*.sql
.Pros of not tracking in source control:
rm migrations/bindata.go && go generate ./migrations
).Cons of not tracking in source control:
start.sh
or manually go generate
) to build the Go code, even if you haven't made any changes. This is already necessary for the web/
code.There is another kind of codegenned file that I believe should remain tracked in source control: the schema/*.go
files that hold the Go types generated from the JSON Schema definitions. It is valuable to have these checked into source control because the Go code in those files is human-readable and not just purely duplicative of other files.