diff options
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 |