diff options
author | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
---|---|---|
committer | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
commit | e4de6b3898b64b26d29aff31f21df5fda8055686 (patch) | |
tree | 575f8a65440f291d70a070d168eafca8c82a6459 /doc/plugin-schema-migrations.markdown | |
parent | d9ffbea174ea6524d0a22f8375ca8b3aa04a3c96 (diff) | |
parent | a6540bc604c837d92c9368540c145606723e97f7 (diff) |
Merge pull request #1 from fguillot/master
Update from upstream
Diffstat (limited to 'doc/plugin-schema-migrations.markdown')
-rw-r--r-- | doc/plugin-schema-migrations.markdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/plugin-schema-migrations.markdown b/doc/plugin-schema-migrations.markdown index d595605f..36a57f37 100644 --- a/doc/plugin-schema-migrations.markdown +++ b/doc/plugin-schema-migrations.markdown @@ -1,7 +1,8 @@ Plugin Schema Migrations ======================== -Kanboard execute database migrations automatically for you. Migrations must be stored in a folder **Schema** and the filename must be the same as the database driver: +Kanboard executes database migrations automatically for you. +Migrations must be stored in a folder **Schema** and the filename must be the same as the database driver: ```bash Schema @@ -31,7 +32,7 @@ function version_1($pdo) ``` - The constant `VERSION` is the last version of your schema -- Each function is a migration `version_1()`, `version_2()`, etc... +- Each function is a migration `version_1()`, `version_2()`, etc. - A `PDO` instance is passed as first argument - Everything is executed inside a transaction, if something doesn't work a rollback is performed and the error is displayed to the user |