-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: updated docs for seeding and production builds * Revert "docs: updated docs for seeding and production builds" This reverts commit ef2d7c6. (i'm just an idiot) * feat: send messages when order is ready * fix: messages are now sent to the right person * fix: lint and a bug
- Loading branch information
1 parent
6e78726
commit 57472ba
Showing
2 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {Table, Column, Model, AllowNull, PrimaryKey} from 'sequelize-typescript'; | ||
|
||
@Table({ | ||
tableName: 'placediscord', | ||
paranoid: true, | ||
timestamps: false, | ||
}) | ||
export default class PlaceAndDiscord extends Model<PlaceAndDiscord> { | ||
@AllowNull(false) | ||
@PrimaryKey | ||
@Column | ||
public place: string; | ||
|
||
@AllowNull(false) | ||
@Column | ||
public discordId: string; | ||
} |