0.3.5 • Published 8 months ago

@tigojs/sqlite v0.3.5

Weekly downloads
41
License
MIT
Repository
github
Last release
8 months ago

@tigojs/sqlite

Provide SQLite database support for tigo.

This plugin contains Sequelize, you can easily store or manage your data in the SQLite database.

Usage

We recommend to use @tigojs/cli to install this plugin, the configuration will be inserted into your .tigorc automatically.

tigo add sqlite

Here's a template for the configuration of this plugin:

// .tigorc.js
module.exports = {
  plugins: {
    sqlite: {
      package: '@tigojs/sqlite',
      config: {
        dbPath: null,   // path to place the database, default: `{server_root}/run/sqlite.db`
        wal: false,   // whether enable the wal mode for sqlite (good for performence)
        // see Sequelize's doc for more details.
        paranoid: false,
        underscored: true,
        freezeTableName: true,
      },
    },
  },
};

License

MIT

0.3.5

8 months ago

0.3.4

4 years ago

0.3.3

4 years ago

0.2.22

4 years ago

0.2.21

4 years ago

0.2.20

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.19

4 years ago

0.2.18

4 years ago

0.2.16

4 years ago

0.2.15

4 years ago

0.2.17

4 years ago

0.2.13

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago