paulovitorbal/pimcore-tools
No Category
Project Summary
A tool set to user with Pimcore
Readme
PimcoreTools
Introduction
This package contains some commands (tools) to help you while developing Pimcore applications.
Commands availabe
Database dump
You will have two commands:
tools:database:dump
tools:database:reload
tools:database:create
One will call mysqldump (you should have it installed) and the second one will load the dump file created by the first command.
The available argument is:
- file - The filename of the file that will be generated, defaul value = dump.sql;
The available options are:
- --skip, -s - will only print the commands that should be executed;
- --remote, -s will connect to a remote server, using a connection named 'remote', configured in your pimcore installation;
The database create command will create a command with the following statement:
CREATE DATABASE IF NOT EXISTS **database** charset=utf8mb4
Where database is the name of the database that is located in the configuration file.