Skip to content

Commit

Permalink
Update experience sampling response entity with properties
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 16, 2024
1 parent 090e08f commit 9db1be3
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { Entity } from 'typeorm';
import { Column, Entity } from 'typeorm';
import BaseTrackedEntity from './BaseTrackedEntity';

@Entity({ name: 'experience_sampling_responses' })
export class ExperienceSamplingResponseEntity extends BaseTrackedEntity {}
export class ExperienceSamplingResponseEntity extends BaseTrackedEntity {
@Column('datetime')
promptedAt: Date;

@Column('text')
question: string;

@Column('text')
response: string;
}

0 comments on commit 9db1be3

Please sign in to comment.