mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 15:19:44 +02:00
Code formatting with prettier, change eslint config for the server
This commit is contained in:
parent
b7f37f0f96
commit
a11f6260c0
191 changed files with 4321 additions and 2880 deletions
|
@ -14,37 +14,37 @@
|
|||
*/
|
||||
|
||||
module.exports.datastores = {
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Your app's default datastore. *
|
||||
* *
|
||||
* Sails apps read and write to local disk by default, using a built-in *
|
||||
* database adapter called `sails-disk`. This feature is purely for *
|
||||
* convenience during development; since `sails-disk` is not designed for *
|
||||
* use in a production environment. *
|
||||
* *
|
||||
* To use a different db _in development_, follow the directions below. *
|
||||
* Otherwise, just leave the default datastore as-is, with no `adapter`. *
|
||||
* *
|
||||
* (For production configuration, see `config/env/production.js`.) *
|
||||
* *
|
||||
***************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Your app's default datastore.
|
||||
*
|
||||
* Sails apps read and write to local disk by default, using a built-in
|
||||
* database adapter called `sails-disk`. This feature is purely for
|
||||
* convenience during development; since `sails-disk` is not designed for
|
||||
* use in a production environment.
|
||||
*
|
||||
* To use a different db _in development_, follow the directions below.
|
||||
* Otherwise, just leave the default datastore as-is, with no `adapter`.
|
||||
*
|
||||
* (For production configuration, see `config/env/production.js`.)
|
||||
*
|
||||
*/
|
||||
|
||||
default: {
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Want to use a different database during development? *
|
||||
* *
|
||||
* 1. Choose an adapter: *
|
||||
* https://sailsjs.com/plugins/databases *
|
||||
* *
|
||||
* 2. Install it as a dependency of your Sails app. *
|
||||
* (For example: npm install sails-mysql --save) *
|
||||
* *
|
||||
* 3. Then pass it in, along with a connection URL. *
|
||||
* (See https://sailsjs.com/config/datastores for help.) *
|
||||
* *
|
||||
***************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Want to use a different database during development?
|
||||
*
|
||||
* 1. Choose an adapter:
|
||||
* https://sailsjs.com/plugins/databases
|
||||
*
|
||||
* 2. Install it as a dependency of your Sails app.
|
||||
* (For example: npm install sails-mysql --save)
|
||||
*
|
||||
* 3. Then pass it in, along with a connection URL.
|
||||
* (See https://sailsjs.com/config/datastores for help.)
|
||||
*
|
||||
*/
|
||||
|
||||
adapter: 'sails-postgresql',
|
||||
url: process.env.DATABASE_URL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue