826364e803
This is part of a rewrite for Dimension to better support integrations. Only the bare minimum scalar APIs are implemented at this point - dimension is non-functional.
14 lines
No EOL
338 B
TypeScript
14 lines
No EOL
338 B
TypeScript
import { Column, Model, PrimaryKey, Table } from "sequelize-typescript";
|
|
|
|
@Table({
|
|
tableName: "dimension_users",
|
|
underscoredAll: false,
|
|
timestamps: false,
|
|
})
|
|
export default class User extends Model<User> {
|
|
// This is really just a holding class to keep foreign keys alive
|
|
|
|
@PrimaryKey
|
|
@Column
|
|
userId: string;
|
|
} |