mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add referential integrity to player and playlist tables
This commit is contained in:
parent
c9bcb333ae
commit
94d88395e7
6 changed files with 142 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -37,6 +37,11 @@ update-snapshots: check_go_env
|
|||
UPDATE_SNAPSHOTS=true ginkgo ./server/subsonic/...
|
||||
.PHONY: update-snapshots
|
||||
|
||||
create-migration:
|
||||
@if [ -z "${name}" ]; then echo "Usage: make create-migration name=name_of_migration_file"; exit 1; fi
|
||||
goose -dir db/migration create ${name}
|
||||
.PHONY: create-migration
|
||||
|
||||
setup:
|
||||
@which go-bindata || (echo "Installing BinData" && GO111MODULE=off go get -u github.com/go-bindata/go-bindata/...)
|
||||
go mod download
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue