Setup eslint and enforce rules
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import {Model} from "../model/Model";
|
||||
import {Field} from "../model/Field";
|
||||
import {FieldType} from "../types";
|
||||
import {Model} from '../model/Model'
|
||||
import {Field} from '../model/Field'
|
||||
import {FieldType} from '../types'
|
||||
|
||||
/**
|
||||
* Model used to fetch & store sessions from the ORMSession driver.
|
||||
*/
|
||||
export class SessionModel extends Model<SessionModel> {
|
||||
protected static table = 'sessions'; // FIXME allow configuring
|
||||
|
||||
protected static key = 'session_uuid';
|
||||
|
||||
@Field(FieldType.varchar, 'session_uuid')
|
||||
|
||||
Reference in New Issue
Block a user