mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
WIP server side.
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
import bookshelf from './bookshelf';
|
||||
|
||||
const PasswordResets = bookshelf.Model.extend({
|
||||
import Model from '@/models/Model';
|
||||
|
||||
export default class PasswordResets extends Model {
|
||||
/**
|
||||
* Table name
|
||||
*/
|
||||
tableName: 'password_resets',
|
||||
|
||||
/**
|
||||
* Timestamp columns.
|
||||
*/
|
||||
hasTimestamps: false,
|
||||
});
|
||||
|
||||
export default bookshelf.model('PasswordResets', PasswordResets);
|
||||
static get tableName() {
|
||||
return 'password_resets';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user