Skip to content
Snippets Groups Projects

Make `swh db init` command work *properly* with the --dbname option

Merged David Douard requested to merge douardda/swh-core:db-init into master
Compare changes
  • Side-by-side
  • Inline
Files
18
  • 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.
Loading