Add SQLite database to backend, interacting with the frontend
This commit is contained in:
7
software/backend/models/categories.model.ts
Normal file
7
software/backend/models/categories.model.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Table, Column, Model, PrimaryKey, AutoIncrement } from 'sequelize-typescript';
|
||||
|
||||
@Table
|
||||
export class Categories extends Model {
|
||||
@Column
|
||||
name: string
|
||||
}
|
||||
Reference in New Issue
Block a user