-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update analytics_log with the created_at of new analytics_log r…
…ecord on next_log_created_at - Add next_log_created_at column to analytics_log - Update permissions to allow created_at to be read via graphql select - On component transition when an analytics log is created store the created at - Update the last log with this value - Should allow us to infer the time spent per card in a single session
- Loading branch information
1 parent
6d8e0fe
commit d174255
Showing
4 changed files
with
71 additions
and
4 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
1 change: 1 addition & 0 deletions
1
...s/1697540635734_alter_table_public_analytics_logs_add_column_next_log_created_at/down.sql
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 @@ | ||
alter table "public"."analytics_logs" drop column "next_log_created_at"; |
2 changes: 2 additions & 0 deletions
2
...ons/1697540635734_alter_table_public_analytics_logs_add_column_next_log_created_at/up.sql
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,2 @@ | ||
alter table "public"."analytics_logs" add column "next_log_created_at" timestamp with time zone | ||
null; |