Renamed migrate-db to migrate
This commit is contained in:
parent
5e12c48de2
commit
982d43f973
4 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ before_script:
|
|||
- docker-compose -f docker-compose.travis.yml up -d --build
|
||||
|
||||
script:
|
||||
- docker-compose -f docker-compose.travis.yml exec photoprism make migrate-db test
|
||||
- docker-compose -f docker-compose.travis.yml exec photoprism make migrate test
|
||||
|
||||
after_script:
|
||||
- docker-compose -f docker-compose.travis.yml down
|
||||
|
|
4
Makefile
4
Makefile
|
@ -31,8 +31,8 @@ js:
|
|||
(cd frontend && env NODE_ENV=production npm run build)
|
||||
start:
|
||||
$(GORUN) cmd/photoprism/photoprism.go start
|
||||
migrate-db:
|
||||
$(GORUN) cmd/photoprism/photoprism.go migrate-db
|
||||
migrate:
|
||||
$(GORUN) cmd/photoprism/photoprism.go migrate
|
||||
test:
|
||||
$(GOTEST) -v ./...
|
||||
clean:
|
||||
|
|
|
@ -100,7 +100,7 @@ USAGE:
|
|||
COMMANDS:
|
||||
config Displays global configuration values
|
||||
start Starts web server
|
||||
migrate-db Automatically migrates / initializes database
|
||||
migrate Automatically migrates / initializes database
|
||||
import Imports photos
|
||||
index Re-indexes all originals
|
||||
convert Converts RAW originals to JPEG
|
||||
|
|
|
@ -99,7 +99,7 @@ func main() {
|
|||
},
|
||||
},
|
||||
{
|
||||
Name: "migrate-db",
|
||||
Name: "migrate",
|
||||
Usage: "Automatically migrates / initializes database",
|
||||
Action: func(context *cli.Context) error {
|
||||
conf := photoprism.NewConfig(context)
|
||||
|
|
Loading…
Reference in a new issue