[ADD] makefile: command to clone database test to test2
This commit is contained in:
parent
caef305dba
commit
c7a58af4e9
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -182,6 +182,11 @@ db_create_db_test:
|
||||||
./script/make.sh db_drop_db_test
|
./script/make.sh db_drop_db_test
|
||||||
./.venv/bin/python3 ./odoo/odoo-bin db --create --database test
|
./.venv/bin/python3 ./odoo/odoo-bin db --create --database test
|
||||||
|
|
||||||
|
.PHONY: db_clone_test_to_test2
|
||||||
|
db_clone_test_to_test2:
|
||||||
|
./.venv/bin/python3 ./odoo/odoo-bin db --drop --database test2
|
||||||
|
./.venv/bin/python3 ./odoo/odoo-bin db --clone --database test2 --from_database test
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Image installation #
|
# Image installation #
|
||||||
########################
|
########################
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue