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