Add Mysql and Postgres schema (SQL dump)

This commit is contained in:
Frederic Guillot
2015-10-05 22:10:25 -04:00
parent 793763681d
commit ca62d68788
6 changed files with 2406 additions and 0 deletions

View File

@@ -38,3 +38,15 @@ define('DB_NAME', 'kanboard');
```
Note: You can also rename the template file `config.default.php` to `config.php`.
### Importing SQL dump (alternative method)
The first time, Kanboard will run one by one each database migration and this process can take some time according to your configuration.
To avoid any issues or potential timeouts you can initialize the database directly by importing the SQL schema:
```bash
psql -U postgres my_database < app/Schema/Sql/postgres.sql
```
The file `app/Schema/Sql/postgres.sql` is a sql dump that represent the last version of the database.