[INIT] Initial Project Structure
This commit is contained in:
commit
0fc5f05b6a
105 changed files with 10448 additions and 0 deletions
9
lib/database/TableService.ts
Normal file
9
lib/database/TableService.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { DBPrismaClient } from "./PostgresService";
|
||||
|
||||
export default abstract class TableService {
|
||||
declare pg: DBPrismaClient;
|
||||
protected abstract table: string;
|
||||
constructor(pg: DBPrismaClient) {
|
||||
this.pg = pg;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue