1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
2016-05-04 18:36:16 +02:00

6 lines
215 B
TypeScript

import {DatabaseManager} from "../DatabaseManager";
export var UserModel = DatabaseManager.getInstance().getModel('user', {
name: {type: String, index: {unique: true}},
password: String,
role: Number
});