WIP server side.

This commit is contained in:
Ahmed Bouhuolia
2020-01-22 02:09:45 +02:00
parent de905d7e7c
commit 488709088b
123 changed files with 14885 additions and 771 deletions

View File

@@ -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);
}