This package contains sql scripts for create the database used from framework, app and auth-mappers.
linna_db_mysql.sql
database without datalinna_db_mysql_test.sql
database with data for tests
linna_db_pgsql.sql
database without datalinna_db_pgsql_test.sql
database with data for tests
- Mysql >= 5.5
- Postgresql >= 10
With composer:
composer require linna/db-dumps
From command prompt, if you don't have a gui tool.
mysql -e 'create database linna_db;'
mysql -u root linna_db < vendor/linna/db-dumps/src/linna_db_mysql.sql
psql -U postgres -a -f vendor/linna/db-dumps/src/linna_db_pgsql.sql