Skip to content

Commit

Permalink
adding twitter auth
Browse files Browse the repository at this point in the history
  • Loading branch information
rtorr committed Apr 1, 2015
1 parent 2e19fde commit 61e5199
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions collections/admins.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict';
var _ = require('lodash');

var db = require('./../lib/db');

var Admin = db.Model.extend({
tableName: 'bb_admins',
hasTimestamps: true
});

var Admins = db.Collection.extend({
model: Admin
});

var admins = new Admins();

module.exports = {Collection: admins, Model: Admin};

0 comments on commit 61e5199

Please sign in to comment.