vaimee / zion

A scalable Thing Description Directory
Apache License 2.0
17 stars 4 forks source link

fix: use correct naming for .env variable db name #62

Closed relu91 closed 1 year ago

relu91 commented 1 year ago

Substituted the variable name for the database name in the .env file from ZION_DB_TYPE to ZION_DB_DATABASE.

fix #59

Question:

Shall I also remove ZION_DB_TYPE ?

hyperloris commented 1 year ago

Yes, let's also remove DB_TYPE.

ivanzy commented 1 year ago

DB_DATABASE is kind of counter-intuitive, since DB is short for database. Also, it as some side-effects as config.database.database.

relu91 commented 1 year ago

DB_DATABASE is kind of counter-intuitive, since DB is short for database. Also, it as some side-effects as config.database.database.

See https://github.com/vaimee/zion/issues/59#issuecomment-1582062077