Make `swh db init` command work *properly* with the --dbname option
Compare changes
Files
18- David Douard authored
And remove the --initial-version argument of the `swh db init` command. This allows to run the command `swh db init --dname DBURI` without giving a configuration file AND properly set the db version, which can be handy some times when testing. Note that this may not work for all swh packages, when the postgresql backend for the given swh package needs more configuration entries than just the psql connection string. This more or less drop support for "old style" db sql init scripts.