Created
April 2, 2021 16:51
-
-
Save ericwooley/6f4b7aeec6031fce2ebdf97ffa5aee9b to your computer and use it in GitHub Desktop.
Revisions
-
ericwooley created this gist
Apr 2, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; @Entity() export class TodoItem { @PrimaryGeneratedColumn() id: number; @Column() name: string; @Column({ default: false }) done: boolean; }