From b7ae96ef1d8d210d479a7d4303e5a935e8336484 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 20 Jul 2017 22:06:05 -0400 Subject: [PATCH] Add docs for cakephp/cakephp#10924 --- en/appendices/3-5-migration-guide.rst | 6 ++++++ en/orm/database-basics.rst | 2 ++ 2 files changed, 8 insertions(+) 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