Skip to content

[IMP] gmail: make init_db idempotent#63

Open
nim-odoo wants to merge 1 commit intoodoo:v2from
nim-odoo:v2-init_db-nim
Open

[IMP] gmail: make init_db idempotent#63
nim-odoo wants to merge 1 commit intoodoo:v2from
nim-odoo:v2-init_db-nim

Conversation

@nim-odoo
Copy link
Copy Markdown

We make sure the init_db.sql can be run multiple times without failing. Moreover, we remove the CREATE DATABASE part: this should generally be executed outside of the script.

We make sure the `init_db.sql` can be run multiple times without
failing. Moreover, we remove the `CREATE DATABASE` part: this should
generally be executed outside of the script.
Comment on lines +8 to +9
-- createdb odoo_gmail_addin
-- psql -f init_db.sql odoo_gmail_addin
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add that in the readme, under the "Development" title?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants