diff --git a/en/appendices/3-5-migration-guide.rst b/en/appendices/3-5-migration-guide.rst index 8e4964a591..f26da57ffb 100644 --- a/en/appendices/3-5-migration-guide.rst +++ b/en/appendices/3-5-migration-guide.rst @@ -182,6 +182,12 @@ Console * ``Cake\Console\CommandCollection`` was added to provide an interface for applications to define the command line tools they offer. +Database +-------- + +* SQLite driver had the ``mask`` option added. This option lets you set the + file permissions on the SQLite database file when it is created. + Datasource ---------- diff --git a/en/orm/database-basics.rst b/en/orm/database-basics.rst index 49963c60e3..15c92ac488 100644 --- a/en/orm/database-basics.rst +++ b/en/orm/database-basics.rst @@ -245,6 +245,8 @@ cacheMetadata store meta data in. Having metadata caching disable is not advised and can result in very poor performance. See the :ref:`database-metadata-cache` section for more information. +mask + Set the permissions on the generated database file. (Only supported by SQLite) At this point, you might want to take a look at the :doc:`/intro/conventions`. The correct naming for your tables (and the addition