Commit Graph

26 Commits

Author SHA1 Message Date
vlakoff 07c95968b7 Use proper PDO fetch style 2016-06-19 05:16:51 +02:00
Jorge González 8fc0df14bb Add "sslmode" setting for PostgreSQL connection
The commit 586bffa1d7 added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011). 

This change makes it possible to specify sslmode from the config file.

Also serves as documentation to other developers so they don't have to
dive deep into the code to figure out that it's posible to set this option.

The posible values for sslmode are:
    disable, allow, prefer, require, verify-ca, verify-full

The default value is "prefer".

http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
2016-05-12 00:59:15 -05:00
Adam14Four f237656c68 Enabled MySQL "strict" mode by default 2016-05-10 12:30:43 -07:00
Matthias Niess eb7743f577 allow for setting sqlite database via env 2016-03-21 20:58:55 +01:00
Taylor Otwell ec0e06e783 cleaning up configs 2016-03-01 08:23:00 -06:00
TGM 8dbd26020a Replaced TAB with space 2016-03-01 14:31:07 +02:00
TGM 9fc55e8464 Added DB_PORT as a default enviroment variable 2016-03-01 14:29:05 +02:00
david-ridgeonnet 89d693b5e6 Added default engine in configuration 2016-02-03 14:34:03 +00:00
Taylor Otwell 8c27cb56d0 default to null 2015-12-07 12:05:42 -06:00
Taylor Otwell 4fba29c0ec fix problems 2015-12-07 12:03:49 -06:00
Cory Fowler a33c66cf47 changed redis support to load config from env 2015-12-01 14:15:22 -08:00
pedes42 879bc14650 Replace storage_path with database_path helper
According to the docs, the sqlite database should be located within the "database" folder.
2015-09-18 14:16:52 +02:00
Bas Peters 2c4964e159 Set default charset for sqlsrv driver to utf8 2015-06-11 17:20:30 +02:00
Graham Campbell 060938bc66 PSR-2
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:32 +01:00
Jimmy Puckett 4ee6523dfa Using the path parameter in the path method. 2015-05-28 15:31:26 -04:00
Marcelo Canina 5c16c21817 Add env variable to database default connection 2015-05-25 15:46:57 -03:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell ff13943dbe Merge pull request #3200 from overtrue/patch-3
[5.0]Modify the wording of env() default values
2015-01-02 16:27:45 -06:00
vlakoff 88b90c7218 Add "strict" setting for MySQL connection.
Signed-off-by: Graham Campbell <graham@mineuk.com>
2014-12-30 22:52:03 +00:00
Carlos - 安正超 38e9a241db Modify the wording of env() default values 2014-12-30 10:06:17 +08:00
Taylor Otwell 93434d8679 Use the "Env" helper which has boolean support. 2014-12-15 13:07:04 -06:00
Taylor Otwell 83a5602df1 Use environment options in database config. 2014-12-15 08:44:30 -06:00
Taylor Otwell ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell 76c84d8652 Convert configuration PHP 5.4 arrays. 2014-08-24 14:03:58 -05:00
Taylor Otwell 9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00