With #556 we are adding DB support to FDO, in order to initialise the database contents the clients would need to run:
diesel migration run --migration-dir ./migrations_{DATABASE_TYPE_AND_SERVER_TYPE} --database-url {DATABASE_URL}
so, do we need to wrap that command into something more easy and encapsulate the dependencies inside an existing RPM?
With #556 we are adding DB support to FDO, in order to initialise the database contents the clients would need to run:
diesel migration run --migration-dir ./migrations_{DATABASE_TYPE_AND_SERVER_TYPE} --database-url {DATABASE_URL}
so, do we need to wrap that command into something more easy and encapsulate the dependencies inside an existing RPM?
e.g:
fdo-owner-tool initialize-database owner postgres $POSTGRES_URL