-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Count meetings and associate feedback
- Loading branch information
Showing
10 changed files
with
374 additions
and
27 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
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
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ export type User = { | |
} | ||
|
||
export type RoomState = { | ||
meetingId?: string | ||
users: User[] | ||
} | ||
|
||
|
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 @@ | ||
CREATE TABLE `Meetings` ( | ||
`id` text PRIMARY KEY NOT NULL, | ||
`created` text DEFAULT CURRENT_TIMESTAMP NOT NULL, | ||
`modified` text DEFAULT CURRENT_TIMESTAMP NOT NULL, | ||
`deleted` text, | ||
`userCount` integer NOT NULL, | ||
`ended` text | ||
); | ||
--> statement-breakpoint | ||
ALTER TABLE `AnalyticsSimpleCallFeedback` ADD `meetingId` text NOT NULL REFERENCES Meetings(id);--> statement-breakpoint | ||
/* | ||
SQLite does not support "Creating foreign key on existing column" out of the box, we do not generate automatic migration for that, so it has to be done manually | ||
Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php | ||
https://www.sqlite.org/lang_altertable.html | ||
Due to that we don't generate migration automatically and it has to be done manually | ||
*/ |
Oops, something went wrong.