Basic and Demo Data During Application Installation

All basic data that are vital for Shopsys Framework (e.g. administrator, vat, database functions and triggers, etc.) are created in database migrations.

As the migrations create data for the first domain only, after all migrations are executed, necessary data must be created for all the other domains (e.g. multidomain settings like free transport limit, database indexes for new locale etc.). This is the responsibility of phing task domains-data-create that executes CreateDomainsDataCommand.

All the other data that are not vital (products, customers, etc.) are created afterwards as data fixtures (i.e. demo data) using phing target db-fixtures-demo. We have English demo data for first domain and Czech demo data for second domain. If you have more domains, the phing target db-fixtures-demo will use the same Czech demo data for other domains.