Huawei / dockyard

Container & Artifact Repository
Apache License 2.0
268 stars 67 forks source link

How do I create the database? #174

Open Rayco opened 8 years ago

Rayco commented 8 years ago

I'm interested in using Dockyard, but I'm having difficulty creating the database. How do I create the migrations?

My Runtinme configuration about database is:

[database] driver = mysql uri = myuser:mypass@/mydockyarkdb

The README says "Initlization Tables":

dockyard db --action sync

However:

Error: unknown command "db" for "dockyard" Run 'dockyard --help' for usage. unknown command "db" for "dockyard"

I tried to run:

dockyard database migrate

But I get the following error:

`` is not officially supported, running under compatibility mode. FATA[0000] Initlization database connection error.