We have previously used the
Schematic plugin for database import inside a
Docker container for a Python script. This is the command used for the importing,
$/data/craft/craft schematic/export --file=schema.yml
/data/craft/craft means we run the command inside the preceding folder and the command itself is
schematic/export --file=schema.yml. The file
schema.yml has the database definition.
How do you import and export the databases using the Craft 3.1.x?
Now we use the
Craft 3.1 which doesn't work with the
Schematic. I have this project config file after we upgraded to the
dateModified: 1552904208 plugins: aws-s3: edition: standard enabled: true schemaVersion: '1.2' redactor: edition: standard enabled: true schemaVersion: 2.2.2