@wmfs/tymly-pg-plugin
Replace Tymly's out-the-box memory storage with PostgreSQL
Last updated 8 hours ago by wmfsbot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @wmfs/tymly-pg-plugin 
SYNC missed versions from official npm registry.

tymly-pg-plugin

Tymly Package npm (scoped) CircleCI codecov CodeFactor Dependabot badge Commitizen friendly JavaScript Style Guide license

Plugin for TymlyJS that provides PostgreSQL persistence

Install

$ npm install pg-info --save

Services

Audit

The audit service allows Tymly to keep a history of change in records.

If you do not want a model to keep a history of changes then add the flag "audit": false to it's json definition. Tymly will store this history in the 'rewind' model.

This service will pick up any file in the /pg-scripts directory of a blueprint with the following file naming convention: audit-{function-name}.sql where {function-name} is the name of your function.

This function will then be applied to all models by default unless they have "audit":false.

Storage

Keeps storage of relevant blueprint objects and creates them in the database provided at PG_CONNECTION_STRING.

Testing

Before running these tests, you'll need a test PostgreSQL database available and set a PG_CONNECTION_STRING environment variable to point to it, for example:

PG_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/my_test_db

$ npm test

License

MIT

Current Tags

  • 1.206.0                                ...           latest (8 hours ago)

223 Versions

  • 1.206.0                                ...           8 hours ago
  • 1.205.0                                ...           14 hours ago
  • 1.204.0                                ...           21 days ago
  • 1.203.0                                ...           21 days ago
  • 1.202.0                                ...           21 days ago
  • 1.201.0                                ...           21 days ago
  • 1.200.0                                ...           21 days ago
  • 1.199.0                                ...           21 days ago
  • 1.198.0                                ...           21 days ago
  • 1.197.0                                ...           21 days ago
  • 1.196.0                                ...           21 days ago
  • 1.195.4                                ...           a month ago
  • 1.195.3                                ...           a month ago
  • 1.195.2                                ...           a month ago
  • 1.195.1                                ...           a month ago
  • 1.195.0                                ...           2 months ago
  • 1.194.0                                ...           2 months ago
  • 1.193.0                                ...           2 months ago
  • 1.192.0                                ...           2 months ago
  • 1.191.0                                ...           2 months ago
  • 1.190.0                                ...           2 months ago
  • 1.189.0                                ...           2 months ago
  • 1.188.0                                ...           2 months ago
  • 1.187.0                                ...           2 months ago
  • 1.186.0                                ...           2 months ago
  • 1.185.0                                ...           2 months ago
  • 1.184.0                                ...           2 months ago
  • 1.183.0                                ...           2 months ago
  • 1.182.0                                ...           2 months ago
  • 1.181.0                                ...           2 months ago
  • 1.180.0                                ...           2 months ago
  • 1.179.0                                ...           2 months ago
  • 1.178.0                                ...           2 months ago
  • 1.177.0                                ...           2 months ago
  • 1.176.0                                ...           3 months ago
  • 1.175.0                                ...           3 months ago
  • 1.174.0                                ...           3 months ago
  • 1.173.0                                ...           3 months ago
  • 1.172.0                                ...           3 months ago
  • 1.171.0                                ...           4 months ago
  • 1.170.0                                ...           4 months ago
  • 1.169.0                                ...           4 months ago
  • 1.168.0                                ...           4 months ago
  • 1.167.0                                ...           4 months ago
  • 1.166.0                                ...           4 months ago
  • 1.165.0                                ...           4 months ago
  • 1.164.0                                ...           4 months ago
  • 1.163.0                                ...           4 months ago
  • 1.162.0                                ...           4 months ago
  • 1.161.0                                ...           4 months ago
  • 1.160.0                                ...           4 months ago
  • 1.159.0                                ...           4 months ago
  • 1.158.0                                ...           4 months ago
  • 1.157.0                                ...           4 months ago
  • 1.156.0                                ...           4 months ago
  • 1.155.0                                ...           4 months ago
  • 1.154.0                                ...           4 months ago
  • 1.153.0                                ...           4 months ago
  • 1.152.0                                ...           4 months ago
  • 1.151.1                                ...           4 months ago
  • 1.151.0                                ...           5 months ago
  • 1.150.0                                ...           5 months ago
  • 1.149.0                                ...           5 months ago
  • 1.148.0                                ...           5 months ago
  • 1.147.0                                ...           5 months ago
  • 1.146.0                                ...           5 months ago
  • 1.145.0                                ...           5 months ago
  • 1.144.0                                ...           5 months ago
  • 1.143.0                                ...           5 months ago
  • 1.142.0                                ...           5 months ago
  • 1.141.0                                ...           5 months ago
  • 1.140.0                                ...           5 months ago
  • 1.139.0                                ...           5 months ago
  • 1.138.0                                ...           5 months ago
  • 1.137.0                                ...           6 months ago
  • 1.136.0                                ...           6 months ago
  • 1.135.1                                ...           7 months ago
  • 1.135.0                                ...           8 months ago
  • 1.134.0                                ...           8 months ago
  • 1.133.0                                ...           8 months ago
  • 1.132.0                                ...           9 months ago
  • 1.131.0                                ...           9 months ago
  • 1.130.0                                ...           9 months ago
  • 1.129.0                                ...           9 months ago
  • 1.128.0                                ...           9 months ago
  • 1.127.0                                ...           9 months ago
  • 1.126.0                                ...           a year ago
  • 1.125.0                                ...           a year ago
  • 1.124.0                                ...           a year ago
  • 1.123.0                                ...           a year ago
  • 1.122.0                                ...           a year ago
  • 1.121.0                                ...           a year ago
  • 1.120.0                                ...           a year ago
  • 1.119.0                                ...           a year ago
  • 1.118.2                                ...           a year ago
  • 1.118.1                                ...           a year ago
  • 1.118.0                                ...           a year ago
  • 1.117.1                                ...           a year ago
  • 1.117.0                                ...           a year ago
  • 1.116.1                                ...           a year ago
  • 1.116.0                                ...           a year ago
  • 1.115.0                                ...           a year ago
  • 1.114.0                                ...           a year ago
  • 1.113.0                                ...           a year ago
  • 1.112.0                                ...           a year ago
  • 1.111.1                                ...           a year ago
  • 1.111.0                                ...           a year ago
  • 1.110.0                                ...           a year ago
  • 1.109.0                                ...           a year ago
  • 1.108.0                                ...           2 years ago
  • 1.107.0                                ...           2 years ago
  • 1.106.0                                ...           2 years ago
  • 1.105.0                                ...           2 years ago
  • 1.104.0                                ...           2 years ago
  • 1.103.0                                ...           2 years ago
  • 1.102.0                                ...           2 years ago
  • 1.101.0                                ...           2 years ago
  • 1.100.0                                ...           2 years ago
  • 1.99.0                                ...           2 years ago
  • 1.98.0                                ...           2 years ago
  • 1.97.0                                ...           2 years ago
  • 1.96.0                                ...           2 years ago
  • 1.95.0                                ...           2 years ago
  • 1.94.0                                ...           2 years ago
  • 1.93.0                                ...           2 years ago
  • 1.92.0                                ...           2 years ago
  • 1.91.0                                ...           2 years ago
  • 1.90.0                                ...           2 years ago
  • 1.89.0                                ...           2 years ago
  • 1.88.0                                ...           2 years ago
  • 1.87.0                                ...           2 years ago
  • 1.86.0                                ...           2 years ago
  • 1.85.0                                ...           2 years ago
  • 1.84.0                                ...           2 years ago
  • 1.83.0                                ...           2 years ago
  • 1.82.0                                ...           2 years ago
  • 1.81.0                                ...           2 years ago
  • 1.80.0                                ...           2 years ago
  • 1.79.0                                ...           2 years ago
  • 1.78.0                                ...           2 years ago
  • 1.77.0                                ...           2 years ago
  • 1.76.0                                ...           2 years ago
  • 1.75.0                                ...           2 years ago
  • 1.74.0                                ...           2 years ago
  • 1.73.0                                ...           2 years ago
  • 1.72.0                                ...           2 years ago
  • 1.71.0                                ...           2 years ago
  • 1.70.0                                ...           2 years ago
  • 1.69.0                                ...           2 years ago
  • 1.68.0                                ...           2 years ago
  • 1.67.0                                ...           2 years ago
  • 1.66.0                                ...           2 years ago
  • 1.65.0                                ...           2 years ago
  • 1.64.0                                ...           2 years ago
  • 1.63.0                                ...           2 years ago
  • 1.62.0                                ...           2 years ago
  • 1.61.0                                ...           2 years ago
  • 1.60.0                                ...           2 years ago
  • 1.59.0                                ...           2 years ago
  • 1.58.0                                ...           2 years ago
  • 1.57.0                                ...           2 years ago
  • 1.56.0                                ...           2 years ago
  • 1.55.0                                ...           2 years ago
  • 1.54.0                                ...           2 years ago
  • 1.53.0                                ...           2 years ago
  • 1.52.0                                ...           2 years ago
  • 1.51.0                                ...           2 years ago
  • 1.50.0                                ...           2 years ago
  • 1.49.0                                ...           2 years ago
  • 1.48.0                                ...           2 years ago
  • 1.47.0                                ...           2 years ago
  • 1.46.0                                ...           2 years ago
  • 1.45.0                                ...           2 years ago
  • 1.44.0                                ...           2 years ago
  • 1.43.0                                ...           2 years ago
  • 1.42.0                                ...           2 years ago
  • 1.41.0                                ...           2 years ago
  • 1.40.0                                ...           2 years ago
  • 1.39.0                                ...           2 years ago
  • 1.38.0                                ...           2 years ago
  • 1.37.0                                ...           2 years ago
  • 1.36.0                                ...           2 years ago
  • 1.35.0                                ...           2 years ago
  • 1.34.0                                ...           2 years ago
  • 1.33.0                                ...           2 years ago
  • 1.32.0                                ...           2 years ago
  • 1.31.0                                ...           2 years ago
  • 1.30.0                                ...           2 years ago
  • 1.29.0                                ...           2 years ago
  • 1.28.0                                ...           2 years ago
  • 1.27.0                                ...           2 years ago
  • 1.26.0                                ...           2 years ago
  • 1.25.0                                ...           2 years ago
  • 1.24.1                                ...           2 years ago
  • 1.24.0                                ...           2 years ago
  • 1.23.0                                ...           2 years ago
  • 1.22.0                                ...           2 years ago
  • 1.21.0                                ...           2 years ago
  • 1.20.0                                ...           2 years ago
  • 1.19.0                                ...           2 years ago
  • 1.18.0                                ...           2 years ago
  • 1.17.0                                ...           2 years ago
  • 1.16.0                                ...           2 years ago
  • 1.15.0                                ...           2 years ago
  • 1.14.0                                ...           2 years ago
  • 1.13.0                                ...           2 years ago
  • 1.12.0                                ...           2 years ago
  • 1.11.0                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 21
This Month 21
Last Day 21
Last Week 0
Last Month 164
Dependencies (12)

Copyright 2014 - 2016 © taobao.org |