daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Mar 20th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var app = require('../server');
  2. var dataSource = app.dataSources.postgresdb;
  3. dataSource.autoupdate([
  4.   'AccessToken',
  5.   'ACL',
  6.   'RoleMapping',
  7.   'Role',
  8.   'User',
  9.   'Member',
  10.   'Note',
  11.   'Video',
  12.   'Question',
  13.   'Answer',
  14.   'Sticker'
  15. ], function(err) {
  16.   if (err) throw err;
  17. });
RAW Paste Data
Top