Skip to content

Commit

Permalink
fix(Timestamp): Save annotations, events, student work with milliseco…
Browse files Browse the repository at this point in the history
…nds (#278)
  • Loading branch information
geoffreykwan authored Aug 11, 2024
1 parent edcb4b2 commit 74d358e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/wise_db_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ create table acl_sid (

create table annotations (
id integer not null auto_increment,
clientSaveTime datetime not null,
clientSaveTime datetime(3) not null,
componentId varchar(30),
data text not null,
nodeId varchar(30),
serverSaveTime datetime not null,
serverSaveTime datetime(3) not null,
type varchar(30) not null,
fromWorkgroupId bigint,
periodId bigint not null,
Expand All @@ -93,14 +93,14 @@ create table annotations (
create table events (
id integer not null auto_increment,
category varchar(255) not null,
clientSaveTime datetime not null,
clientSaveTime datetime(3) not null,
componentId varchar(30),
componentType varchar(30),
context varchar(30) not null,
data text,
event varchar(255) not null,
nodeId varchar(30),
serverSaveTime datetime not null,
serverSaveTime datetime(3) not null,
periodId bigint,
runId bigint,
workgroupId bigint,
Expand Down Expand Up @@ -403,13 +403,13 @@ create table studentAssets (

create table studentWork (
id integer not null auto_increment,
clientSaveTime datetime not null,
clientSaveTime datetime(3) not null,
componentId varchar(30),
componentType varchar(30),
isAutoSave bit not null,
isSubmit bit not null,
nodeId varchar(30) not null,
serverSaveTime datetime not null,
serverSaveTime datetime(3) not null,
studentData mediumtext not null,
peerGroupId bigint,
periodId bigint not null,
Expand Down

0 comments on commit 74d358e

Please sign in to comment.