SQLite format 3@ žô.jÐ KžûöñìçâÝØÓÎÉý·±«¥Ÿ™“‡{uoic]WQK…I ŠmtablePersonPerson CREATE TABLE Person ( username TEXT , firstNames TEXT , lastName TEXT , emailAddr TEXT , phoneNum TEXT , gender INTEGER NOT NULL , active INTEGER NOT NULL , dateOfBirth INTEGER NOT NULL , personAddress TEXT , personOrgId TEXT , personGroupUid INTEGER NOT NULL , personLct INTEGER NOT NULL , personCountry TEXT , personType INTEGER NOT NULL DEFAULT 0 , personMasterChangeSeqNum INTEGER NOT NULL , personLocalChangeSeqNum INTEGER NOT NULL , personLastChangedBy INTEGER NOT NULL , admin INTEGER NOT NULL , personNotes TEXT , fatherName TEXT , fatherNumber TEXT , motherName TEXT , motherNum TEXT , personUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ…etableHolidayHoliday CREATE TABLE Holiday ( holMasterCsn INTEGER NOT NULL , holLocalCsn INTEGER NOT NULL , holLastModBy INTEGER NOT NULL , holLct INTEGER NOT NULL , holActive INTEGER NOT NULL , holHolidayCalendarUid INTEGER NOT NULL , holStartTime INTEGER NOT NULL , holEndTime INTEGER NOT NULL , holName TEXT , holUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ!++…ytableHolidayCalendarHolidayCalendarCREATE TABLE HolidayCalendar ( umCalendarName TEXT , umCalendarCategory INTEGER NOT NULL , umCalendarActive INTEGER NOT NULL , umCalendarMasterChangeSeqNum INTEGER NOT NULL , umCalendarLocalChangeSeqNum INTEGER NOT NULL , umCalendarLastChangedBy INTEGER NOT NULL , umCalendarLct INTEGER NOT NULL , umCalendarUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„LˆktableScheduleScheduleCREATE TABLE Schedule ( sceduleStartTime INTEGER NOT NULL , scheduleEndTime INTEGER NOT NULL , scheduleDay INTEGER NOT NULL , scheduleMonth INTEGER NOT NULL , scheduleFrequency INTEGER NOT NULL , umCalendarUid INTEGER NOT NULL , scheduleClazzUid INTEGER NOT NULL , scheduleMasterChangeSeqNum INTEGER NOT NULL , scheduleLocalChangeSeqNum INTEGER NOT NULL , scheduleLastChangedBy INTEGER NOT NULL , scheduleLastChangedTime INTEGER NOT NULL , scheduleActive INTEGER NOT NULL , scheduleUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„?==ˆtableClazzLogAttendanceRecordClazzLogAttendanceRecordCREATE TABLE ClazzLogAttendanceRecord ( clazzLogAttendanceRecordClazzLogUid INTEGER NOT NULL , clazzLogAttendanceRecordPersonUid INTEGER NOT NULL , attendanceStatus INTEGER NOT NULL , clazzLogAttendanceRecordMasterChangeSeqNum INTEGER NOT NULL , clazzLogAttendanceRecordLocalChangeSeqNum INTEGER NOT NULL , clazzLogAttendanceRecordLastChangedBy INTEGER NOT NULL , clazzLogAttendanceRecordLastChangedTime INTEGER NOT NULL , clazzLogAttendanceRecordUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)…‰ytableClazzLogClazzLogCREATE TABLE ClazzLog ( clazzLogClazzUid INTEGER NOT NULL , logDate INTEGER NOT NULL , timeRecorded INTEGER NOT NULL , clazzLogDone INTEGER NOT NULL , cancellationNote TEXT , clazzLogCancelled INTEGER NOT NULL , clazzLogNumPresent INTEGER NOT NULL , clazzLogNumAbsent INTEGER NOT NULL , clazzLogNumPartial INTEGER NOT NULL , clazzLogScheduleUid INTEGER NOT NULL , clazzLogStatusFlag INTEGER NOT NULL , clazzLogMSQN INTEGER NOT NULL , clazzLogLCSN INTEGER NOT NULL , clazzLogLCB INTEGER NOT NULL , clazzLogLastChangedTime INTEGER NOT NULL , clazzLogUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NUL~œy›tšm™f˜`—Z–T•L”E“>’9‘1+&ŽŒ‹ Љ|}hmXZLLCB96.. %  ùù Ì úú Ì É‘-„ÿ¿“˜Ý±ár û¹3@rXà û¹3@–]²W¶-Œþ³“˜ß¼r  û¹3 rƽ û¹3 –]²WÜ Ym ¹Ë‹ãYHoliday û¹3 =PendingRepositorySessionClazzLogn¤ù3ër3OutgoingReplicationClazz û¹3ïÛÐSchedule û¹3ïÛÐion+HolidayCalendar û¹3 n  ÐÐ&„þ÷“™©ˆð %Q“. û¹3*Dp–]²Wì Ò$„þ÷“˜À„  7 Test Holiday Calendar–]²WÖ Ñ%„þ÷“˜À„   –]²WØ û¹3 r¡lr%|  µµA„þ÷“™©ˆð! !Test Clazzÿÿÿÿÿÿÿÿ fen–]²WëAsia/Dubai ø ÛN¿ ¸ f $Õ1§Ûø…I ŠmtablePersonPerson CREATE TABLE Person ( username TEXT , firstNames TEXT , lastName TEXT , emailAddr TEXT , phoneNum TEXT , gender INTEGER NOT NULL , active INTEGER NOT NULL , dateOfBirth INTEGER NOT NULL , personAddress TEXT , personOrgId TEXT , personGroupUid INTEGER NOT NULL , personLct INTEGER NOT NULL , personCountry TEXT , personType INTEGER NOT NULL DEFAULT 0 , personMasterChangeSeqNum INTEGER NOT NULL , personLocalChangeSeqNum INTEGER NOT NULL , personLastChangedBy INTEGER NOT NULL , admin INTEGER NOT NULL , personNotes TEXT , fatherName TEXT , fatherNumber TEXT , motherName TEXT , motherNum TEXT , personUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ…etableHolidayHoliday CREATE TABLE Holiday ( holMasterCsn INTEGER NOT NULL , holLocalCsn INTEGER NOT NULL , holLastModBy INTEGER NOT NULL , holLct INTEGER NOT NULL , holActive INTEGER NOT NULL , holHolidayCalendarUid INTEGER NOT NULL , holStartTime INTEGER NOT NULL , holEndTime INTEGER NOT NULL , holName TEXT , holUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ!++…ytableHolidayCalendarHolidayCalendarCREATE TABLE HolidayCalendar ( umCalendarName TEXT , umCalendarCategory INTEGER NOT NULL , umCalendarActive INTEGER NOT NULL , umCalendarMasterChangeSeqNum INTEGER NOT NULL , umCalendarLocalChangeSeqNum INTEGER NOT NULL , umCalendarLastChangedBy INTEGER NOT NULL , umCalendarLct INTEGER NOT NULL , umCalendarUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„LˆktableScheduleScheduleCREATE TABLE Schedule ( sceduleStartTime INTEGER NOT NULL , scheduleEndTime INTEGER NOT NULL , scheduleDay INTEGER NOT NULL , scheduleMonth INTEGER NOT NULL , scheduleFrequency INTEGER NOT NULL , umCalendarUid INTEGER NOT NULL , scheduleClazzUid INTEGER NOT NULL , scheduleMasterChangeSeqNum INTEGER NOT NULL , scheduleLocalChangeSeqNum INTEGER NOT NULL , scheduleLastChangedBy INTEGER NOT NULL , scheduleLastChangedTime INTEGER NOT NULL , scheduleActive INTEGER NOT NULL , scheduleUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„?==ˆtableClazzLogAttendanceRecordClazzLogAttendanceRecordCREATE TABLE ClazzLogAttendanceRecord ( clazzLogAttendanceRecordClazzLogUid INTEGER NOT NULL , clazzLogAttendanceRecordPersonUid INTEGER NOT NULL , attendanceStatus INTEGER NOT NULL , clazzLogAttendanceRecordMasterChangeSeqNum INTEGER NOT NULL , clazzLogAttendanceRecordLocalChangeSeqNum INTEGER NOT NULL , clazzLogAttendanceRecordLastChangedBy INTEGER NOT NULL , clazzLogAttendanceRecordLastChangedTime INTEGER NOT NULL , clazzLogAttendanceRecordUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)…‰ytableClazzLogClazzLogCREATE TABLE ClazzLog ( clazzLogClazzUid INTEGER NOT NULL , logDate INTEGER NOT NULL , timeRecorded INTEGER NOT NULL , clazzLogDone INTEGER NOT NULL , cancellationNote TEXT , clazzLogCancelled INTEGER NOT NULL , clazzLogNumPresent INTEGER NOT NULL , clazzLogNumAbsent INTEGER NOT NULL , clazzLogNumPartial INTEGER NOT NULL , clazzLogScheduleUid INTEGER NOT NULL , clazzLogStatusFlag INTEGER NOT NULL , clazzLogMSQN INTEGER NOT NULL , clazzLogLCSN INTEGER NOT NULL , clazzLogLCB INTEGER NOT NULL , clazzLogLastChangedTime INTEGER NOT NULL , clazzLogUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )o%%!table_doorwayinfo_doorwayinfoCREATE TABLE _doorwayinfo (dbVersion int primary key, dbHash varchar(255))7K%indexsqlite_autoindex__doorwayinfo_1_doorwayinfo D çþ+îD N‚:''„3tableLeavingReasonLeavingReasonCREATE TABLE LeavingReason ( leavingReasonTitle TEXT , leavingReasonMCSN INTEGER NOT NULL , leavingReasonCSN INTEGER NOT NUL‡'%%ŽtableContentEntryContentEntryCREATE TABLE ContentEntry ( title TEXT , description TEXT , entryId TEXT , author TEXT , publisher TEXT , licenseType INTEGER NOT NULL , licenseName TEXT , licenseUrl TEXT , sourceUrl TEXT , thumbnailUrl TEXT , lastModified INTEGER NOT NULL , primaryLanguageUid INTEGER NOT NULL , languageVariantUid INTEGER NOT NULL , contentFlags INTEGER NOT NULL , leaf INTEGER NOT NULL , publik INTEGER NOT NULL , ceInactive INTEGER NOT NULL , completionCriteria INTEGER NOT NULL , minScore INTEGER NOT NULL , contentTypeFlag INTEGER NOT NULL , contentOwner INTEGER NOT NULL , contentOwnerType INTEGER NOT NULL DEFAULT 1 , contentEntryLocalChangeSeqNum INTEGER NOT NULL , contentEntryMasterChangeSeqNum INTEGER NOT NULL , contentEntryLastChangedBy INTEGER NOT NULL , contentEntryLct INTEGER NOT NULL , contentEntryUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚:''„3tableLeavingReasonLeavingReasonCREATE TABLE LeavingReason ( leavingReasonTitle TEXT , leavingReasonMCSN INTEGER NOT NULL , leavingReasonCSN INTEGER NOT NULL , leavingReasonLCB INTEGER NOT NULL , leavingReasonLct INTEGER NOT NULL , leavingReasonUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )d )‚!indexindex_ClazzEnrolment_clazzEnrolmentClazzUid_clazzEnrolmentRoleClazzEnrolmentCREATE INDEX index_ClazzEnrolment_clazzEnrolmentClazzUid_clazzEnrolmentRole ON ClazzEnrolment (clazzEnrolmentClazzUid, clazzEnrolmentRole)s )‚5indexindex_ClazzEnrolment_clazzEnrolmentClazzUid_clazzEnrolmentPersonUidClazzEnrolmentCREATE INDEX index_ClazzEnrolment_clazzEnrolmentClazzUid_clazzEnrolmentPersonUid ON ClazzEnrolment (clazzEnrolmentClazzUid, clazzEnrolmentPersonUid)s )‚5indexindex_ClazzEnrolment_clazzEnrolmentPersonUid_clazzEnrolmentClazzUidClazzEnrolmentCREATE INDEX index_ClazzEnrolment_clazzEnrolmentPersonUid_clazzEnrolmentClazzUid ON ClazzEnrolment (clazzEnrolmentPersonUid, clazzEnrolmentClazzUid)…f ))‹tableClazzEnrolmentClazzEnrolmentCREATE TABLE ClazzEnrolment ( clazzEnrolmentPersonUid INTEGER NOT NULL , clazzEnrolmentClazzUid INTEGER NOT NULL , clazzEnrolmentDateJoined INTEGER NOT NULL , clazzEnrolmentDateLeft INTEGER NOT NULL , clazzEnrolmentRole INTEGER NOT NULL , clazzEnrolmentAttendancePercentage REAl NOT NULL , clazzEnrolmentActive INTEGER NOT NULL , clazzEnrolmentLeavingReasonUid INTEGER NOT NULL , clazzEnrolmentOutcome INTEGER NOT NULL , clazzEnrolmentLocalChangeSeqNum INTEGER NOT NULL , clazzEnrolmentMasterChangeSeqNum INTEGER NOT NULL , clazzEnrolmentLastChangedBy INTEGER NOT NULL , clazzEnrolmentLct INTEGER NOT NULL , clazzEnrolmentUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ˆ  tableClazzClazz CREATE TABLE Clazz ( clazzName TEXT , clazzDesc TEXT , attendanceAverage REAl NOT NULL , clazzHolidayUMCalendarUid INTEGER NOT NULL , clazzScheuleUMCalendarUid INTEGER NOT NULL , isClazzActive INTEGER NOT NULL , clazzLocationUid INTEGER NOT NULL , clazzStartTime INTEGER NOT NULL , clazzEndTime INTEGER NOT NULL , clazzFeatures INTEGER NOT NULL , clazzSchoolUid INTEGER NOT NULL , clazzEnrolmentPolicy INTEGER NOT NULL DEFAULT 102 , clazzTerminologyUid INTEGER NOT NULL DEFAULT 25966 , clazzMasterChangeSeqNum INTEGER NOT NULL , clazzLocalChangeSeqNum INTEGER NOT NULL , clazzLastChangedBy INTEGER NOT NULL , clazzLct INTEGER NOT NULL , clazzTimeZone TEXT , clazzStudentsPersonGroupUid INTEGER NOT NULL , clazzTeachersPersonGroupUid INTEGER NOT NULL , clazzPendingStudentsPersonGroupUid INTEGER NOT NULL , clazzParentsPersonGroupUid INTEGER NOT NULL , clazzCode TEXT , clazzOwnerPersonUid INTEGER NOT NULL DEFAULT 0 , clazzUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )        2 «…èñD«\ Ú "  ºƒ++…ctableContentCategoryContentCategoryCREATE TABLE ContentCategory ( ctnCatContentCategorySchemaUid INTEGER NOT NULL , name TEXT , contentCategoryLocalChangeSeqNum INTEGER NOT NULL , contentCategoryMasterChangeSeqNum INTEGER NOT NULL , contentCategoryLastChangedBy INTEGER NOT NULL , contentCategoryLct INTEGER NOT NULL , contentCategoryUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ*77…stableContentCategorySchemaContentCategorySchemaCREATE TABLE ContentCategorySchema ( schemaName TEXT , schemaUrl TEXT , contentCategorySchemaLocalChangeSeqNum INTEGER NOT NULL , contentCategorySchemaMasterChangeSeqNum INTEGER NOT NULL , contentCategorySchemaLastChangedBy INTEGER NOT NULL , contentCategorySchemaLct INTEGER NOT NULL , contentCategorySchemaUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒtEE†ktableContentEntryRelatedEntryJoinContentEntryRelatedEntryJoinCREATE TABLE ContentEntryRelatedEntryJoin ( cerejContentEntryUid INTEGER NOT NULL , cerejRelatedEntryUid INTEGER NOT NULL , cerejLastChangedBy INTEGER NOT NULL , relType INTEGER NOT NULL , comment TEXT , cerejRelLanguageUid INTEGER NOT NULL , cerejLocalChangeSeqNum INTEGER NOT NULL , cerejMasterChangeSeqNum INTEGER NOT NULL , cerejLct INTEGER NOT NULL , cerejUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )$%Cmindexparent_childContentEntryParentChildJoinCREATE INDEX parent_child ON ContentEntryParentChildJoin (cepcjChildContentEntryUid, cepcjParentContentEntryUid)ƒsCC†mtableContentEntryParentChildJoinContentEntryParentChildJoinCREATE TABLE ContentEntryParentChildJoin ( cepcjLocalChangeSeqNum INTEGER NOT NULL , cepcjMasterChangeSeqNum INTEGER NOT NULL , cepcjLastChangedBy INTEGER NOT NULL , cepcjLct INTEGER NOT NULL , cepcjDeleted INTEGER NOT NULL DEFAULT 0 , cepcjParentContentEntryUid INTEGER NOT NULL , cepcjChildContentEntryUid INTEGER NOT NULL , childIndex INTEGER NOT NULL , cepcjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ*KK…KtableContentEntryContentCategoryJoinContentEntryContentCategoryJoinCREATE TABLE ContentEntryContentCategoryJoin ( ceccjContentEntryUid INTEGER NOT NULL , ceccjContentCategoryUid INTEGER NOT NULL , ceccjLocalChangeSeqNum INTEGER NOT NULL , ceccjMasterChangeSeqNum INTEGER NOT NULL , ceccjLastChangedBy INTEGER NOT NULL , ceccjLct INTEGER NOT NULL , ceccjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )%%ŽtableContentEntryContentEntryCREATE TABLE ContentEntry ( title TEXT , description TEXT , entryId TEXT , author TEXT , pu‚]##…tablePersonGroupPersonGroupCREATE TABLE PersonGroup ( groupMasterCsn INTEGER NOT NULL , groupLocalCsn INTEGER NOT NULL , groupLastChangedBy INTEGER NOT NULL , groupLct INTEGER NOT NULL , groupName TEXT , groupActive INTEGER NOT NULL , personGroupFlag INTEGER NOT NULL , groupUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )5!!‚5tablePersonAuthPersonAuthCREATE TABLE PersonAuth ( passwordHash TEXT , personAuthStatus INTEGER NOT NULL , personAuthUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚++…5tableLanguageVariantLanguageVariantCREATE TABLE LanguageVariant ( langUid INTEGER NOT NULL , countryCode TEXT , name TEXT , langVariantLocalChangeSeqNum INTEGER NOT NULL , langVariantMasterChangeSeqNum INTEGER NOT NULL , langVariantLastChangedBy INTEGER NOT NULL , langVariantLct INTEGER NOT NULL , langVariantUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ!†tableLanguageLanguageCREATE TABLE Language ( name TEXT , iso_639_1_standard TEXT , iso_639_2_standard TEXT , iso_639_3_standard TEXT , Language_Type TEXT , languageActive INTEGER NOT NULL , langLocalChangeSeqNum INTEGER NOT NULL , langMasterChangeSeqNum INTEGER NOT NULL , langLastChangedBy INTEGER NOT NULL , langLct INTEGER NOT NULL , langUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )           È ” å-”ß}ÝH ¿ > È(&K#'indexidx_actorentity_actorobjecttypeActorEntity+CREATE INDEX idx_actorentity_actorobjecttype ON ActorEntity (actorObjectType)ŠH++”GtableStatementEntityStatementEntity$CREATE TABLE StatementEntity ( statementIdHi INTEGER NOT NULL , statementIdLo INTEGER NOT NULL , statementActorPersonUid INTEGER NOT NULL , statementVerbUid INTEGER NOT NULL , statementObjectType INTEGER NOT NULL , statementObjectUid1 INTEGER NOT NULL , statementObjectUid2 INTEGER NOT NULL , statementActorUid INTEGER NOT NULL , authorityActorUid INTEGER NOT NULL , teamUid INTEGER NOT NULL , resultCompletion INTEGER , resultSuccess INTEGER , resultScoreScaled REAl , resultScoreRaw REAl , resultScoreMin REAl , resultScoreMax REAl , resultDuration INTEGER , resultResponse TEXT , timestamp INTEGER NOT NULL , stored INTEGER NOT NULL , contextRegistrationHi INTEGER NOT NULL , contextRegistrationLo INTEGER NOT NULL , contextPlatform TEXT , contextStatementRefIdHi INTEGER NOT NULL , contextStatementRefIdLo INTEGER NOT NULL , contextInstructorActorUid INTEGER NOT NULL , statementLct INTEGER NOT NULL , extensionProgress INTEGER , completionOrProgress INTEGER NOT NULL , statementContentEntryUid INTEGER NOT NULL , statementLearnerGroupUid INTEGER NOT NULL , statementClazzUid INTEGER NOT NULL , statementCbUid INTEGER NOT NULL , statementDoorNode INTEGER NOT NULL , isSubStatement INTEGER NOT NULL , PRIMARY KEY (statementIdHi, statementIdLo) )= Q+indexsqlite_autoindex_StatementEntity_1StatementEntity%‚ ))ƒStableActivityEntityActivityEntity#CREATE TABLE ActivityEntity ( actUid INTEGER PRIMARY KEY NOT NULL , actIdIri TEXT , actType TEXT , actMoreInfo TEXT , actInteractionType INTEGER NOT NULL , actCorrectResponsePatterns TEXT , actLct INTEGER NOT NULL )5!!‚5tableVerbEntityVerbEntity"CREATE TABLE VerbEntity ( verbUid INTEGER PRIMARY KEY NOT NULL , verbUrlId TEXT , verbDeleted INTEGER NOT NULL , verbLct INTEGER NOT NULL )‚.''„tablePersonPicturePersonPicture!CREATE TABLE PersonPicture ( personPictureLct INTEGER NOT NULL , personPictureUri TEXT , personPictureThumbnailUri TEXT , fileSize INTEGER NOT NULL , personPictureActive INTEGER NOT NULL , personPictureUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒ///† tablePersonGroupMemberPersonGroupMemberCREATE TABLE PersonGroupMember ( groupMemberActive INTEGER NOT NULL , groupMemberPersonUid INTEGER NOT NULL , groupMemberGroupUid INTEGER NOT NULL , groupMemberMasterCsn INTEGER NOT NULL , groupMemberLocalCsn INTEGER NOT NULL , groupMemberLastChangedBy INTEGER NOT NULL , groupMemberLct INTEGER NOT NULL , groupMemberUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )v;tableSyncNodeSyncNode,CREATE TABLE SyncNode ( nodeClientId INTEGER NOT NULL , PRIMARY KEY (nodeClientId) )%G#!indexidx_actorentity_uid_personuidActorEntity*CREATE INDEX idx_actorentity_uid_personuid ON ActorEntity (actorPersonUid)ƒ$##…StableActorEntityActorEntity)CREATE TABLE ActorEntity ( actorPersonUid INTEGER NOT NULL , actorName TEXT , actorMbox TEXT , actorMbox_sha1sum TEXT , actorOpenid TEXT , actorAccountName TEXT , actorAccountHomePage TEXT , actorEtag INTEGER NOT NULL , actorLct INTEGER NOT NULL , actorObjectType INTEGER NOT NULL , actorUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )#?+Gindexidx_statement_cbuid_actorStatementEntity(CREATE INDEX idx_statement_cbuid_actor ON StatementEntity (statementCbUid, statementActorUid)"A+[indexidx_statement_clazz_personStatementEntity'CREATE INDEX idx_statement_clazz_person ON StatementEntity (statementClazzUid, statementActorPersonUid)!7++indexidx_stmt_actor_personStatementEntity&CREATE INDEX idx_stmt_actor_person ON StatementEntity (statementActorPersonUid)            ôô…’ó¥ìÆùx    w Ð^J§ˆ 3D.„---‡UtablePersonParentJoinPersonParentJoin3CREATE TABLE PersonParentJoin ( ppjPcsn INTEGƒW1##†utableErrorReportErrorReport7CREATE TABLE ErrorReport ( errPcsn INTEGER NOT NULL , errLcsn INTEGER NOT NULL , errLcb INTEGER NOT NULL , errLct INTEGER NOT NULL , severity INTEGER NOT NULL , timestamp 03#Sindexidx_entity_to_groupScopedGrant6CREATE INDEX idx_entity_to_group ON ScopedGrant (sgTableId, sgEntityUid, sgPermissions, sgGroupUid)t';tableSyncNodeSyncNode,CREATE TABLE SyncNode ( nodeClientId INTEGER NOT NULL , PRIMARY KEY (nodeClientId) )&K#'indexidx_actorentity_actorobjecttypeActorEntity+CREATE INDEX idx_actorentity_actorobjecttype ON ActorEntity (actorObjectType)‘3#Sindexidx_group_to_entityScopedGrant5CREATE INDEX idx_group_to_entity ON ScopedGrant (sgGroupUid, sgPermissions, sgTableId, sgEntityUid)ƒ .##†tableScopedGrantScopedGrant4CREATE TABLE ScopedGrant ( sgPcsn INTEGER NOT NULL , sgLcsn INTEGER NOT NULL , sgLcb INTEGER NOT NULL , sgLct INTEGER NOT NULL , sgTableId INTEGER NOT NULL , sgEntityUid INTEGER NOT NULL , sgPermissions INTEGER NOT NULL , sgGroupUid INTEGER NOT NULL , sgIndex INTEGER NOT NULL , sgFlags INTEGER NOT NULL , sgUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„---‡UtablePersonParentJoinPersonParentJoin3CREATE TABLE PersonParentJoin ( ppjPcsn INTEGER NOT NULL , ppjLcsn INTEGER NOT NULL , ppjLcb INTEGER NOT NULL , ppjLct INTEGER NOT NULL , ppjParentPersonUid INTEGER NOT NULL , ppjMinorPersonUid INTEGER NOT NULL , ppjRelationship INTEGER NOT NULL , ppjEmail TEXT , ppjPhone TEXT , ppjInactive INTEGER NOT NULL , ppjStatus INTEGER NOT NULL , ppjApprovalTiemstamp INTEGER NOT NULL , ppjApprovalIpAddr TEXT , ppjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚o,…-tableSiteTermsSiteTerms2CREATE TABLE SiteTerms ( termsHtml TEXT , sTermsLang TEXT , sTermsLangUid INTEGER NOT NULL , sTermsActive INTEGER NOT NULL , sTermsLastChangedBy INTEGER NOT NULL , sTermsPrimaryCsn INTEGER NOT NULL , sTermsLocalCsn INTEGER NOT NULL , sTermsLct INTEGER NOT NULL , sTermsUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚C+„itableSiteSite1CREATE TABLE Site ( sitePcsn INTEGER NOT NULL , siteLcsn INTEGER NOT NULL , siteLcb INTEGER NOT NULL , siteLct INTEGER NOT NULL , siteName TEXT , guestLogin INTEGER NOT NULL , registrationAllowed INTEGER NOT NULL , authSalt TEXT , siteUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )†^*tableReportReport0CREATE TABLE Report ( reportOwnerUid INTEGER NOT NULL , xAxis INTEGER NOT NULL , reportDateRangeSelection INTEGER NOT NULL , fromDate INTEGER NOT NULL , fromRelTo INTEGER NOT NULL , fromRelOffSet INTEGER NOT NULL , fromRelUnit INTEGER NOT NULL , toDate INTEGER NOT NULL , toRelTo INTEGER NOT NULL , toRelOffSet INTEGER NOT NULL , toRelUnit INTEGER NOT NULL , reportTitle TEXT , reportDescription TEXT , reportSeries TEXT , reportInactive INTEGER NOT NULL , isTemplate INTEGER NOT NULL , priority INTEGER NOT NULL , reportTitleId INTEGER NOT NULL , reportDescId INTEGER NOT NULL , reportMasterChangeSeqNum INTEGER NOT NULL , reportLocalChangeSeqNum INTEGER NOT NULL , reportLastChangedBy INTEGER NOT NULL , reportLct INTEGER NOT NULL , reportUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL ))GSindexidx_comments_entity_submitterComments/CREATE INDEX idx_comments_entity_submitter ON Comments (commentsEntityUid, commentsForSubmitterUid)ƒn(‡/tableCommentsComments-CREATE TABLE Comments ( commentsText TEXT , commentsEntityUid INTEGER NOT NULL , commentsStatus INTEGER NOT NULL , commentsFromPersonUid INTEGER NOT NULL , commentsForSubmitterUid INTEGER NOT NULL , commentsFromSubmitterUid INTEGER NOT NULL , commentsFlagged INTEGER NOT NULL , commentsDeleted INTEGER NOT NULL , commentsDateTimeAdded INTEGER NOT NULL , commentsLct INTEGER NOT NULL , commentsUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )           a#  s •q~v# a ú‚P699„;tablePeerReviewerAllocationPeerReviewerAllocation=CREATE TABLE PeerReviewerAllocation ( praMarkerSubmitterUid INTEGER NOT NULL , praToMarkerSubmitterUid INTEGER NOT NULL , praAssignmentUid INTEGER NOT NULL , praActive INTEGER NOT NULL , praLct INTEGER NOT NULL , praUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„555‡-tableCourseAssignmentMarkCourseAssignmentMarkCREATE TABLE PersonAuth2 ( pauthUid INTEGER PRIMARY KEY NOT NULL , pauthMechanism TEXT , pauthAuth TEXT , pauthLcsn INTEGER NOT NULL , pauthPcsn INTEGER NOT NULL , pauthLcb INTEGER NOT NULL , pauthLct INTEGER NOT NULL )wer03#Sindexidx_entity_to_groupScopedGrant6CREATE INDEX idx_entity_to_group ON ScopedGrant (sgTableId, sgEntityUid, sgPermissions, sgGroupUid)/3#Sindexidx_group_to_entityScopedGrant5CREATE INDEX idx_group_to_entity ON ScopedGrant (sgGroupUid, sgPermissions, sgTableId, sgEntityUid)ƒW1##†utableErrorReportErrorReport7CREATE TABLE ErrorReport ( errPcsn INTEGER NOT NULL , errLcsn INTEGER NOT NULL , errLcb INTEGER NOT NULL , errLct INTEGER NOT NULL , severity INTEGER NOT NULL , timestamp INTEGER NOT NULL , presenterUri TEXT , appVersion TEXT , versionCode INTEGER NOT NULL , errorCode INTEGER NOT NULL , operatingSys TEXT , osVersion TEXT , stackTrace TEXT , message TEXT , errUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‘3#Sindexidx_entity_to_groupScopedGrant6CREATE INDEX idx_entity_to_group ON ScopedGrant (sgTableId, sgEntityUid, sgPermissions, sgGroupUid)          ž ;z Å : ¯ G_Y‰ ¯G;‚ B//ƒAtableCourseGroupMemberCourseGroupMemberJCREATE TABLE CourseGroupMember ( cgmSetUid INTEGER NOT NULL , cgmGroupNumber INTEGER NOT NULL , cgmPersonUid INTEGER NOT NULL , cgmLct INTEGER NOT NULL , cgmUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚A))ƒYtableCourseGroupSetCourseGroupSetICREATE TABLE CourseGroupSet ( cgsName TEXT , cgsTotalGroups INTEGER NOT NULL , cgsActive INTEGER NOT NULL , cgsClazzUid INTEGER NOT NULL , cgsLct INTEGER NOT NULL , cgsUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )†>##‹MtableCourseBlockCourseBlockFCREATE TABLE CourseBlock ( cbType INTEGER NOT NULL , cbIndentLevel INTEGER NOT NULL , cbModuleParentBlockUid INTEGER NOT NULL , cbTitle TEXT , cbDescription TEXT , cbCompletionCriteria INTEGER NOT NULL , cbHideUntilDate INTEGER NOT NULL , cbDeadlineDate INTEGER NOT NULL , cbLateSubmissionPenalty INTEGER NOT NULL , cbGracePeriodDate INTEGER NOT NULL , cbMaxPoints REAl , cbMinPoints REAl , cbIndex INTEGER NOT NULL , cbClazzUid INTEGER NOT NULL , cbClazzSourcedId TEXT , cbActive INTEGER NOT NULL , cbHidden INTEGER NOT NULL , cbEntityUid INTEGER NOT NULL , cbLct INTEGER NOT NULL , cbSourcedId TEXT , cbMetadata TEXT , cbCreatedByAppId TEXT , cbUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )e=7‚indexindex_ContentEntryImportJob_cjiContentEntryUid_cjiFinishTimeContentEntryImportJobECREATE INDEX index_ContentEntryImportJob_cjiContentEntryUid_cjiFinishTime ON ContentEntryImportJob (cjiContentEntryUid, cjiFinishTime)†7<77Œ tableContentEntryImportJobContentEntryImportJobDCREATE TABLE ContentEntryImportJob ( sourceUri TEXT , cjiOriginalFilename TEXT , cjiContentEntryUid INTEGER NOT NULL , cjiParentContentEntryUid INTEGER NOT NULL , cjiContentEntryVersion INTEGER NOT NULL , cjiItemProgress INTEGER NOT NULL , cjiItemTotal INTEGER NOT NULL , cjiStatus INTEGER NOT NULL , cjiRecursiveStatus INTEGER NOT NULL , cjiPluginId INTEGER NOT NULL , cjiParentCjiUid INTEGER NOT NULL , cjiStartTime INTEGER NOT NULL , cjiFinishTime INTEGER NOT NULL , cjiContentDeletedOnCancellation INTEGER NOT NULL , cjiCompressionLevel INTEGER NOT NULL DEFAULT 3 , cjiError TEXT , cjiErrorDismissed INTEGER NOT NULL , cjiOwnerPersonUid INTEGER NOT NULL , cjiParams TEXT , cjiUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚+;!!„!tableContentJobContentJobBCREATE TABLE ContentJob ( toUri TEXT , cjProgress INTEGER NOT NULL , cjTotal INTEGER NOT NULL , cjNotificationTitle TEXT , cjIsMeteredAllowed INTEGER NOT NULL , params TEXT , cjLct INTEGER NOT NULL , cjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL ):9#Aindexnode_status_person_idxUserSessionACREATE INDEX node_status_person_idx ON UserSession (usClientNodeId, usStatus, usPersonUid)99#Aindexperson_status_node_idxUserSession@CREATE INDEX person_status_node_idx ON UserSession (usPersonUid, usStatus, usClientNodeId)ƒV8##†stableUserSessionUserSession?CREATE TABLE UserSession ( usPcsn INTEGER NOT NULL , usLcsn INTEGER NOT NULL , usLcb INTEGER NOT NULL , usLct INTEGER NOT NULL , usPersonUid INTEGER NOT NULL , usClientNodeId INTEGER NOT NULL , usStartTime INTEGER NOT NULL , usEndTime INTEGER NOT NULL , usStatus INTEGER NOT NULL , usReason INTEGER NOT NULL , usAuth TEXT , usSessionType INTEGER NOT NULL , usUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )##ƒ_tabl‚AH@//‚?tableCourseTerminologyCourseTerminologyHCREATE TABLE CourseTerminology ( ctTitle TEXT , ctTerminology TEXT , ctLct INTEGER NOT NULL , ctUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚ 7##ƒ_tablePersonAuth2PersonAuth2>CREATE TABLE PersonAuth2 ( pauthUid INTEGER PRIMARY KEY NOT NULL , pauthMechanism TEXT , pauthAuth TEXT , pauthLcsn INTEGER NOT NULL , pauthPcsn INTEGER NOT NULL , pauthLcb INTEGER NOT NULL , pauthLct INTEGER NOT NULL )u?A#indexidx_courseblock_cbclazzuidCourseBlockGCREATE INDEX idx_courseblock_cbclazzuid ON CourseBlock (cbClazzUid)          ³ r  ¸rSµå bEEJ=kindexmessage_idx_ƒ(M##†tableTransferJobTransferJobVCREATE TABLE TransferJob ( tjType INTEGER NOT NULL , tjStatus INTEGER NOT NULL , tjName TEXT , tjUuid TEXT , tjTableId INTEGER NOT NULL DEFAULT 0 , tjEntityUid INTEGER NOT NULL DEFAULT 0 , tjTimeCreated INTEGER NOT NULL DEFAULT 0 , tjCreationType INTEGER NOT NULL DEFAULT 0 , tjOiUid INTEGER NOT NULL DEFAULT 0 , tjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )ƒUL33†QtableContentEntryVersionContentEntryVersionUCREATE TABLE ContentEntryVersion ( cevContentEntryUid INTEGER NOT NULL , cevOpenUri TEXT , cevContentType TEXT , cevManifestUrl TEXT , cevSize INTEGER NOT NULL , cevInActive INTEGER NOT NULL , cevLastModified INTEGER NOT NULL , cevLct INTEGER NOT NULL , cevStorageSize INTEGER NOT NULL DEFAULT 0 , cevOriginalSize INTEGER NOT NULL DEFAULT 0 , cevUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )…MK''ŠYtableStudentResultStudentResultTCREATE TABLE StudentResult ( srUid INTEGER PRIMARY KEY NOT NULL , srSourcedId TEXT , srCourseBlockUid INTEGER NOT NULL , srLineItemSourcedId TEXT , srLineItemHref TEXT , srClazzUid INTEGER NOT NULL , srAssignmentUid INTEGER NOT NULL , srStatus INTEGER NOT NULL , srMetaData TEXT , srStudentPersonUid INTEGER NOT NULL , srStudentPersonSourcedId TEXT , srStudentGroupId INTEGER NOT NULL , srMarkerPersonUid INTEGER NOT NULL , srMarkerGroupId INTEGER NOT NULL , srScoreStatus INTEGER NOT NULL , srScore REAl NOT NULL , srScoreDate INTEGER NOT NULL , srLastModified INTEGER NOT NULL , srComment TEXT , srAppId TEXT , srDeleted INTEGER NOT NULL )J=kindexmessage_idx_send_to_timeMessageSCREATE INDEX message_idx_send_to_time ON Message (messageSenderPersonUid, messageToPersonUid, messageTimestamp)‚I„tableMessageMessageRCREATE TABLE Message ( messageSenderPersonUid INTEGER NOT NULL , messageToPersonUid INTEGER NOT NULL , messageText TEXT , messageTimestamp INTEGER NOT NULL , messageLct INTEGER NOT NULL , messageUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚CH77„%tableExternalAppPermissionExternalAppPermissionQCREATE TABLE ExternalAppPermission ( eapPersonUid INTEGER NOT NULL , eapPackageId TEXT , eapStartTime INTEGER NOT NULL , eapExpireTime INTEGER NOT NULL , eapAuthToken TEXT , eapAndroidAccountName TEXT , eapUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )„QG))ˆ]tableDiscussionPostDiscussionPostPCREATE TABLE DiscussionPost ( discussionPostReplyToPostUid INTEGER NOT NULL , discussionPostTitle TEXT , discussionPostMessage TEXT , discussionPostStartDate INTEGER NOT NULL , discussionPostCourseBlockUid INTEGER NOT NULL , dpDeleted INTEGER NOT NULL , discussionPostStartedPersonUid INTEGER NOT NULL , discussionPostClazzUid INTEGER NOT NULL , discussionPostLct INTEGER NOT NULL , discussionPostVisible INTEGER NOT NULL , discussionPostArchive INTEGER NOT NULL , discussionPostUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚F''ƒ_tableCoursePictureCoursePictureOCREATE TABLE CoursePicture ( coursePictureLct INTEGER NOT NULL , coursePictureUri TEXT , coursePictureThumbnailUri TEXT , coursePictureActive INTEGER NOT NULL , coursePictureUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )QEe?indexsqlite_autoindex_ActivityInteractionEntity_1ActivityInteractionEntityN‚>D??„ tableActivityInteractionEntityActivityInteractionEntityMCREATE TABLE ActivityInteractionEntity ( aieActivityUid INTEGER NOT NULL , aieHash INTEGER NOT NULL , aieProp INTEGER NOT NULL , aieId TEXT , aieLastMod INTEGER NOT NULL , aieIsDeleted INTEGER NOT NULL , PRIMARY KEY (aieActivityUid, aieHash) )‚JC33„;tableContentEntryPictureContentEntryPictureKCREATE TABLE ContentEntryPicture ( cepContentEntryUid INTEGER NOT NULL , cepUri TEXT , cepMd5 TEXT , cepFileSize INTEGER NOT NULL , cepTimestamp INTEGER NOT NULL , cepMimeType TEXT , cepActive INTEGER NOT NULL , cepUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )            Õ ¾ (r´&±u⺠ò iÕ Ô Ì[G-7indexidx_enrolmentrequest_by_clazzEnrolmentRequesteCREATE INDEX idx_enrolmentrequest_by_clazz ON EnrolmentRequest (erClazzUid, erStatus)„ Z--‡GtableEnrolmentRequestEnrolmentRequestdCREATE TABLE EnrolmentRequest ( erClazzUid INTEGER NOT NULL , erClazzName TEXT , erPersonUid INTEGER NOT NULL , erPersonFullname TEXT , erPersonPictureUri TEXT , erPersonUsername TEXT , erRole INTEGER NOT NULL , erRequestTime INTEGER NOT NULL , erStatus INTEGER NOT NULL , erStatusSetByPersonUid INTEGER NOT NULL , erDeleted INTEGER NOT NULL , erStatusSetAuth TEXT , erLastModified INTEGER NOT NULL , erUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )VK#?indexoffline_item_node_content_entryOfflineItem`CREATE INDEX offline_item_node_content_entry ON OfflineItem (oiNodeId, oiContentEntryUid)‚9U##„9tableOfflineItemOfflineItem_CREATE TABLE OfflineItem ( oiNodeId INTEGER NOT NULL , oiClazzUid INTEGER NOT NULL , oiCourseBlockUid INTEGER NOT NULL , oiContentEntryUid INTEGER NOT NULL , oiActive INTEGER NOT NULL , oiLct INTEGER NOT NULL , oiUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )sT='indexidx_clj_offline_item_uidCacheLockJoin^CREATE INDEX idx_clj_offline_item_uid ON CacheLockJoin (cljOiUid) S='?indexidx_clj_table_entity_urlCacheLockJoin]CREATE INDEX idx_clj_table_entity_url ON CacheLockJoin (cljTableId, cljEntityUid, cljUrl)‚PR''„_tableCacheLockJoinCacheLockJoin\CREATE TABLE CacheLockJoin ( cljTableId INTEGER NOT NULL , cljEntityUid INTEGER NOT NULL , cljUrl TEXT , cljLockId INTEGER NOT NULL , cljStatus INTEGER NOT NULL , cljType INTEGER NOT NULL , cljOiUid INTEGER NOT NULL DEFAULT 0 , cljId INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )iQ/+indextransferjob_tjuidTransferJobItem[CREATE INDEX transferjob_tjuid ON TransferJobItem (tjiTjUid)P7+Kindextji_table_entity_etagTransferJobItemZCREATE INDEX tji_table_entity_etag ON TransferJobItem (tjiTableId, tjiEntityUid, tjiEntityEtag)„ O++‡wtableTransferJobItemTransferJobItemYCREATE TABLE TransferJobItem ( tjiTjUid INTEGER NOT NULL , tjTotalSize INTEGER NOT NULL , tjTransferred INTEGER NOT NULL , tjAttemptCount INTEGER NOT NULL , tjiSrc TEXT , tjiDest TEXT , tjiType INTEGER NOT NULL , tjiStatus INTEGER NOT NULL , tjiTableId INTEGER NOT NULL , tjiEntityUid INTEGER NOT NULL , tjiEntityEtag INTEGER NOT NULL DEFAULT 0 , tjiLockIdToRelease INTEGER NOT NULL DEFAULT 0 , tjiPartialTmpFile TEXT , tjiUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )NS#=indexTransferJob_idx_tjTableId_EntityUidTransferJobWCREATE INDEX TransferJob_idx_tjTableId_EntityUid ON TransferJob (tjTableId, tjEntityUid)ƒ(M##†tableTransferJobTransferJobVCREATE TABLE TransferJob ( tjType INTEGER NOT NULL , tjStatus INTEGER NOT NULL , tjName TEXT , tjUuid TEXT , tjTableId INTEGER NOT NULL DEFAULT 0 , tjEntityUid INTEGER NOT NULL DEFAULT 0 , tjTimeCreated INTEGER NOT NULL DEFAULT 0 , tjCreationType INTEGER NOT NULL DEFAULT 0 , tjOiUid INTEGER NOT NULL DEFAULT 0 , tjUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )Y;#;indexdelitem_idx_status_timeDeletedItemcCREATE INDEX delitem_idx_status_time ON DeletedItem (delItemStatus, delItemTimeDeleted)ƒEX##†QtableDeletedItemDeletedItembCREATE TABLE DeletedItem ( delItemName TEXT , delItemIconUri TEXT , delItemLastModTime INTEGER NOT NULL , delItemTimeDeleted INTEGER NOT NULL , delItemEntityTable INTEGER NOT NULL , delItemEntityUid INTEGER NOT NULL , delItemDeletedByPersonUid INTEGER NOT NULL , delItemStatus INTEGER NOT NULL , delItemIsFolder INTEGER NOT NULL DEFAULT 0 , delItemUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )‚CWGG„tableOfflineItemPendingTransferJobOfflineItemPendingTransferJobaCREATE TABLE OfflineItemPendingTransferJob ( oiptjOiUid INTEGER NOT NULL , oiptjTableId INTEGER NOT NULL , oiptjEntityUid INTEGER NOT NULL , oiptjUrl TEXT , oiptjType INTEGER NOT NULL , oiptjId INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )                ‘  {üt<¯æ™@Pþµ P À ¼ ß ß.ia5Sindexidx_groupmemberactorjoin_gmajgroupactoruidGroupMemberActorJointCREATE INDEX idx_groupmemberactorjoin_gmajMna;indexsqlite_autoindex_ActivityExtensionEntity_1ActivityExtensionEntityy‚2m;;ƒ{tableActivityExtensionEntityActivityExtensionEntityxCREATE TABLE ActivityExtensionEntity ( aeeActivityUid INTEGER NOT NULL , aeeKeyHash INTEGER NOT NULL , aeeKey TEXT , aeeJson TEXT , aeeLastMod INTEGER NOT NULL , aeeIsDeleted INTEGER NOT NULL , PRIMARY KEY (aeeActivityUid, aeeKeyHash) )‚ e--ƒMtableVerbLangMapEntryVerbLangMapEntrypCREATE TABLE VerbLangMapEntry ( vlmeVerbUid INTEGER NOT NULL , vlmeLangHash INTEGER NOT NULL , vlmeLangCode TEXT , vlmeEntryString TEXT , vlmeLastModified INTEGER NOT NULL , PRIMARY KEY (vlmeVerbUid, vlmeLangHash) )?fS-indexsqlite_autoindex_VerbLangMapEntry_1VerbLangMapEntryq ¢dG-indexidx_transferjoberror_tjetjuidTransferJobErroroCREATE INDEX idx_transferjoberror_tjetjuid ON TransferJobError (tjeTjUid)uc--ƒtableTransferJobErrorTransferJobErrornCREATE TABLE TransferJobError ( tjeTjUid INTEGER NOT NULL , tjeTime INTEGER NOT NULL , tjeErrorStr TEXT , tjeDismissed INTEGER NOT NULL , tjeId INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )Lb55‚;tableContentEntryPicture2ContentEntryPicture2mCREATE TABLE ContentEntryPicture2 ( cepUid INTEGER PRIMARY KEY NOT NULL , cepLct INTEGER NOT NULL , cepPictureUri TEXT , cepThumbnailUri TEXT )Fa11‚7tableCourseBlockPictureCourseBlockPicturelCREATE TABLE CourseBlockPicture ( cbpUid INTEGER PRIMARY KEY NOT NULL , cbpLct INTEGER NOT NULL , cbpPictureUri TEXT , cbpThumbnailUri TEXT ) `I-+indexidx_systempermission_personuidSystemPermissionkCREATE INDEX idx_systempermission_personuid ON SystemPermission (spToPersonUid)‚5_--„tableSystemPermissionSystemPermissionjCREATE TABLE SystemPermission ( spToPersonUid INTEGER NOT NULL , spToGroupUid INTEGER NOT NULL , spPermissionsFlag INTEGER NOT NULL , spLastModified INTEGER NOT NULL , spIsDeleted INTEGER NOT NULL , spUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )^G-#indexidx_coursepermission_clazzuidCoursePermissioniCREATE INDEX idx_coursepermission_clazzuid ON CoursePermission (cpClazzUid)‚|]--…+tableCoursePermissionCoursePermissiongCREATE TABLE CoursePermission ( cpLastModified INTEGER NOT NULL , cpClazzUid INTEGER NOT NULL , cpToEnrolmentRole INTEGER NOT NULL , cpToPersonUid INTEGER NOT NULL , cpToGroupUid INTEGER NOT NULL , cpPermissionsFlag INTEGER NOT NULL , cpIsDeleted INTEGER NOT NULL , cpUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )\I-;indexidx_enrolmentrequest_by_personEnrolmentRequestfCREATE INDEX idx_enrolmentrequest_by_person ON EnrolmentRequest (erPersonUid, erStatus)[G-7indexidx_enrolmentrequest_by_clazzEnrolmentRequesteCREATE INDEX idx_enrolmentrequest_by_clazz ON EnrolmentRequest (erClazzUid, erStatus)--‡GtableEnrolmentRequesGl[5indexsqlite_autoindex_ActivityLangMapEntry_1ActivityLangMapEntryw‚Dk55„+tableActivityLangMapEntryActivityLangMapEntryvCREATE TABLE ActivityLangMapEntry ( almeActivityUid INTEGER NOT NULL , almeHash INTEGER NOT NULL , almeLangCode TEXT , almePropName TEXT , almeValue TEXT , almeAieHash INTEGER NOT NULL , almeLastMod INTEGER NOT NULL , PRIMARY KEY (almeActivityUid, almeHash) )1jc5Windexidx_groupmemberactorjoin_gmajmemberactoruidGroupMemberActorJoinuCREATE INDEX idx_groupmemberactorjoin_gmajmemberactoruid ON GroupMemberActorJoin (gmajMemberActorUid).ia5Sindexidx_groupmemberactorjoin_gmajgroupactoruidGroupMemberActorJointCREATE INDEX idx_groupmemberactorjoin_gmajgroupactoruid ON GroupMemberActorJoin (gmajGroupActorUid)Gh[5indexsqlite_autoindex_GroupMemberActorJoin_1GroupMemberActorJoinsg55ƒ!tableGroupMemberActorJoinGroupMemberActorJoinrCREATE TABLE GroupMemberActorJoin ( gmajGroupActorUid INTEGER NOT NULL , gmajMemberActorUid INTEGER NOT NULL , gmajLastMod INTEGER NOT NULL , PRIMARY KEY (gmajGroupActorUid, gmajMemberActorUid) )                    f± û ¢ … >*ò§a ÃíPfS{==‚7tabg}55‚uviewClazzLog_ReceiveViewClazzLog_ReceiveViewCREATE VIEW ClazzLog_ReceiveView AS SELECT ClazzLog.*, CAST(0 AS BIGINT) AS fromNodeId FROM ClazzLog|‚tableDoorNodeDoorNodeˆCREATE TABLE DoorNode ( auth TEXT , nodeId INTEGER NOT NULL , rel INTEGER NOT NULL DEFAULT 2 , PRIMARY KEY (nodeId) )S{==‚7tablePendingRepositorySessionPendingRepositorySession‡CREATE TABLE PendingRepositorySession ( endpointUrl TEXT , remoteNodeId INTEGER NOT NULL , rsUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )Hz[5indexsqlite_autoindex_ReplicationOperation_1ReplicationOperation†ty55ƒ tableReplicationOperationReplicationOperation…CREATE TABLE ReplicationOperation ( repOpRemoteNodeId INTEGER NOT NULL , repOpStatus INTEGER NOT NULL , repOpTableId INTEGER NOT NULL , PRIMARY KEY (repOpRemoteNodeId, repOpTableId) )‚Zx33„YtableOutgoingReplicationOutgoingReplication„CREATE TABLE OutgoingReplication ( destNodeId INTEGER NOT NULL , orPk1 INTEGER NOT NULL , orPk2 INTEGER NOT NULL DEFAULT 0 , orPk3 INTEGER NOT NULL DEFAULT 0 , orPk4 INTEGER NOT NULL DEFAULT 0 , orTableId INTEGER NOT NULL , orUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )DwW1indexsqlite_autoindex_StateDeleteCommand_1StateDeleteCommandƒ‚Hv11„9tableStateDeleteCommandStateDeleteCommand‚CREATE TABLE StateDeleteCommand ( sdcActorUid INTEGER NOT NULL , sdcHash INTEGER NOT NULL , sdcActivityUid INTEGER NOT NULL , sdcStateId TEXT , sdcLastMod INTEGER NOT NULL , sdcRegistrationHi INTEGER , sdcRegistrationLo INTEGER , PRIMARY KEY (sdcActorUid, sdcHash) )6uI#indexsqlite_autoindex_StateEntity_1StateEntity„t##‡gtableStateEntityStateEntity€CREATE TABLE StateEntity ( seActorUid INTEGER NOT NULL , seHash INTEGER NOT NULL , seActivityUid INTEGER NOT NULL , seStateId TEXT NOT NULL , seLastMod INTEGER NOT NULL , seTimeStored INTEGER NOT NULL , seContentType TEXT NOT NULL , seCompressed INTEGER NOT NULL , seContent TEXT NOT NULL , seDeleted INTEGER NOT NULL , seRegistrationHi INTEGER , seRegistrationLo INTEGER , seH5PPreloaded INTEGER NOT NULL , seH5PSubContentId TEXT , PRIMARY KEY (seActorUid, seHash) )EsY3indexsqlite_autoindex_StatementEntityJson_1StatementEntityJsonyr33ƒtableStatementEntityJsonStatementEntityJson~CREATE TABLE StatementEntityJson ( stmtJsonIdHi INTEGER NOT NULL , stmtJsonIdLo INTEGER NOT NULL , stmtEtag INTEGER NOT NULL , fullStatement TEXT , PRIMARY KEY (stmtJsonIdHi, stmtJsonIdLo) )†q//‹ktableXapiSessionEntityXapiSessionEntity}CREATE TABLE XapiSessionEntity ( xseLastMod INTEGER NOT NULL , xseRegistrationHi INTEGER NOT NULL , xseRegistrationLo INTEGER NOT NULL , xseUsUid INTEGER NOT NULL , xseAccountPersonUid INTEGER NOT NULL , xseActorUid INTEGER NOT NULL , xseAccountUsername TEXT NOT NULL , xseClazzUid INTEGER NOT NULL , xseCbUid INTEGER NOT NULL , xseContentEntryUid INTEGER NOT NULL , xseContentEntryVersionUid INTEGER NOT NULL DEFAULT 0 , xseRootActivityId TEXT NOT NULL , xseRootActivityUid INTEGER NOT NULL , xseStartTime INTEGER NOT NULL , xseExpireTime INTEGER NOT NULL , xseAuth TEXT , xseCompleted INTEGER NOT NULL DEFAULT 0 , knownActorUidToPersonUids TEXT NOT NULL , xseUid INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL )WpkEindexsqlite_autoindex_StatementContextActivityJoin_1StatementContextActivityJoin{ƒ3oEE…itableStatementContextActivityJoinStatementContextActivityJoinzCREATE TABLE StatementContextActivityJoin ( scajFromStatementIdHi INTEGER NOT NULL , scajFromStatementIdLo INTEGER NOT NULL , scajToHash INTEGER NOT NULL , scajContextType INTEGER NOT NULL , scajToActivityUid INTEGER NOT NULL , scajToActivityId TEXT , scajEtag INTEGER NOT NULL , PRIMARY KEY (scajFromStatementIdHi, scajFromStatementIdLo, scajToHash) )Mna;indexsqlite_autoindex_ActivityExtensionEntity_1ActivityExtensionEntityy        ÖëÖ———‚ òM ýù3XáræMù™3ƼrTæM û¹3 ?æM û¹3 à û¹3*Dpà û¹3*Dp   ââ9http://localhost/dummyà  ¿D†LD ;ŠeU’Ytrigger_dclazzlogattendancerecord_remote_insert_insClazzLogAttendanceRecord_ReceiveViewCREATE TRIGGER _dclazzlogattendancerecord_remote_insert_ins INSTEAD OF INSERT ON ClazzLogAttendanceRecord_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.clazzLogAttendanceRecordLastChangedTime AS BIGINT) > COALESCE((SELECT ClazzLogAttendanceRecord_Existing.clazzLogAttendanceRecordLastChangedTime FROM ClazzLogAttendanceRecord ClazzLogAttendanceRecord_Existing WHERE ClazzLogAttendanceRecord_Existing.clazzLogAttendanceRecordUid = NEW.clazzLogAttendanceRecordUid), 0) ) BEGIN REPLACE INTO ClazzLogAttendanceRecord (clazzLogAttendanceRecordUid, clazzLogAttendanceRecordClazzLogUid, clazzLogAttendanceRecordPersonUid, attendanceStatus, clazzLogAttendanceRecordMasterChangeSeqNum, clazzLogAttendanceRecordLocalChangeSeqNum, clazzLogAttendanceRecordLastChangedBy, clazzLogAttendanceRecordLastChangedTime) VALUES( NEW.clazzLogAttendanceRecordUid, NEW.clazzLogAttendanceRecordClazzLogUid, NEW.clazzLogAttendanceRecordPersonUid, NEW.attendanceStatus, NEW.clazzLogAttendanceRecordMasterChangeSeqNum, NEW.clazzLogAttendanceRecordLocalChangeSeqNum, NEW.clazzLogAttendanceRecordLastChangedBy, NEW.clazzLogAttendanceRecordLastChangedTime) ; END‚7UUƒUviewClazzLogAttendanceRecord_ReceiveViewClazzLogAttendanceRecord_ReceiveViewCREATE VIEW ClazzLogAttendanceRecord_ReceiveView AS SELECT ClazzLogAttendanceRecord.*, CAST(0 AS BIGINT) AS fromNodeId FROM ClazzLogAttendanceRecordˆ6~E5}trigger_dclazzlog_remote_insert_insClazzLog_ReceiveViewCREATE TRIGGER _dclazzlog_remote_insert_ins INSTEAD OF INSERT ON ClazzLog_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.clazzLogLastChangedTime AS BIGINT) > COALESCE((SELECT ClazzLog_Existing.clazzLogLastChangedTime FROM ClazzLog ClazzLog_Existing WHERE ClazzLog_Existing.clazzLogUid = NEW.clazzLogUid), 0) ) BEGIN REPLACE INTO ClazzLog (clazzLogUid, clazzLogClazzUid, logDate, timeRecorded, clazzLogDone, cancellationNote, clazzLogCancelled, clazzLogNumPresent, clazzLogNumAbsent, clazzLogNumPartial, clazzLogScheduleUid, clazzLogStatusFlag, clazzLogMSQN, clazzLogLCSN, clazzLogLCB, clazzLogLastChangedTime) VALUES( NEW.clazzLogUid, NEW.clazzLogClazzUid, NEW.logDate, NEW.timeRecorded, NEW.clazzLogDone, NEW.cancellationNote, NEW.clazzLogCancelled, NEW.clazzLogNumPresent, NEW.clazzLogNumAbsent, NEW.clazzLogNumPartial, NEW.clazzLogScheduleUid, NEW.clazzLogStatusFlag, NEW.clazzLogMSQN, NEW.clazzLogLCSN, NEW.clazzLogLCB, NEW.clazzLogLastChangedTime) ; ENDX55‚uviewClazzLog_ReceiveViewClazzLog_ReceiveViewCREATE VIEW ClazzLog_Rece‡zE5trigger_dschedule_remote_insert_insSchedule_ReceiveViewCREATE TRIGGER _dschedule_remote_insert_ins INSTEAD OF INSERT ON Schedule_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.scheduleLastChangedTime AS BIGINT) > COALESCE((SELECT Schedule_Existing.scheduleLastChangedTime FROM Schedule Schedule_Existing WHERE Schedule_Existing.scheduleUid = NEW.scheduleUid), 0) ) BEGIN REPLACE INTO Schedule (scheduleUid, sceduleStartTime, scheduleEndTime, scheduleDay, scheduleMonth, scheduleFrequency, umCalendarUid, scheduleClazzUid, scheduleMasterChangeSeqNum, scheduleLocalChangeSeqNum, scheduleLastChangedBy, scheduleLastChangedTime, scheduleActive) VALUES( NEW.scheduleUid, NEW.sceduleStartTime, NEW.scheduleEndTime, NEW.scheduleDay, NEW.scheduleMonth, NEW.scheduleFrequency, NEW.umCalendarUid, NEW.scheduleClazzUid, NEW.scheduleMasterChangeSeqNum, NEW.scheduleLocalChangeSeqNum, NEW.scheduleLastChangedBy, NEW.scheduleLastChangedTime, NEW.scheduleActive) ; ENDg55‚uviewSchedule_ReceiveViewSchedule_ReceiveViewCREATE VIEW Schedule_ReceiveView AS SELECT Schedule.*, CAST(0 AS BIGINT) AS fromNodeId FROM Schedule ƒò w ‘Æåƒz Œ^A1˜Utrigger_dperson_remote_insert_insPerson_ReceiveViewCREATE TRIGGER _dperson_remote_insert_ins INSTEAD OF INSERT ON Person_ReceiveView FOR EACH ROW WHEN ( SELECT ((NEW.username IS NULL OR (SELECT NOT EXISTS( SELECT Person.personUid FROM Person WHERE Person.username = NEW.username)) OR NEW.personUid = (SELECT Person.personUid FROM Person WHERE Person.username = NEW.username))) AND CAST(NEW.personLct AS BIGINT) > (SELECT COALESCE( (SELECT Person.personLct FROM Person WHERE Person.personUid = CAST(NEW.personUid AS BIGINT)), 0)) ) BEGIN REPLACE INTO Person (personUid, username, firstNames, lastName, emailAddr, phoneNum, gender, active, dateOfBirth, personAddress, personOrgId, personGroupUid, personLct, personCountry, personType, personMasterChangeSeqNum, personLocalChangeSeqNum, personLastChangedBy, admin, personNotes, fatherName, fatherNumber, motherName, motherNum) VALUES( NEW.personUid, NEW.username, NEW.firstNames, NEW.lastName, NEW.emailAddr, NEW.phoneNum, NEW.gender, NEW.active, NEW.dateOfBirth, NEW.personAddress, NEW.personOrgId, NEW.personGroupUid, NEW.personLct, NEW.personCountry, NEW.personType, NEW.personMasterChangeSeqNum, NEW.personLocalChangeSeqNum, NEW.personLastChangedBy, NEW.admin, NEW.personNotes, NEW.fatherName, NEW.fatherNumber, NEW.motherName, NEW.motherNum) ; END]11‚iviewPerson_ReceiveViewPerson_ReceiveViewCREATE VIEW Person_ReceiveView AS SELECT Person.*, CAST(0 AS BIGINT) AS fromNodeId FROM Person…GC3Š#trigger_dholiday_remote_insert_insHoliday_ReceiveViewCREATE TRIGGER _dholiday_remote_insert_ins INSTEAD OF INSERT ON Holiday_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.holLct AS BIGINT) > COALESCE((SELECT Holiday_Existing.holLct FROM Holiday Holiday_Existing WHERE Holiday_Existing.holUid = NEW.holUid), 0) ) BEGIN REPLACE INTO Holiday (holUid, holMasterCsn, holLocalCsn, holLastModBy, holLct, holActive, holHolidayCalendarUid, holStartTime, holEndTime, holName) VALUES( NEW.holUid, NEW.holMasterCsn, NEW.holLocalCsn, NEW.holLastModBy, NEW.holLct, NEW.holActive, NEW.holHolidayCalendarUid, NEW.holStartTime, NEW.holEndTime, NEW.holName) ; ENDb33‚oviewHoliday_ReceiveViewHoliday_ReceiveViewCREATE VIEW Holiday_ReceiveView AS SELECT Holiday.*, CAST(0 AS BIGINT) AS fromNodeId FROM Holiday†wSCŒctrigger_dholidaycalendar_remote_insert_insHolidayCalendar_ReceiveViewCREATE TRIGGER _dholidaycalendar_remote_insert_ins INSTEAD OF INSERT ON HolidayCalendar_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.umCalendarLct AS BIGINT) > COALESCE((SELECT HolidayCalendar_Existing.umCalendarLct FROM HolidayCalendar HolidayCalendar_Existing WHERE HolidayCalendar_Existing.umCalendarUid = NEW.umCalendarUid), 0) ) BEGIN REPLACE INTO HolidayCalendar (umCalendarUid, umCalendarName, umCalendarCategory, umCalendarActive, umCalendarMasterChangeSeqNum, umCalendarLocalChangeSeqNum, umCalendarLastChangedBy, umCalendarLct) VALUES( NEW.umCalendarUid, NEW.umCalendarName, NEW.umCalendarCategory, NEW.umCalendarActive, NEW.umCalendarMasterChangeSeqNum, NEW.umCalendarLocalChangeSeqNum, NEW.umCalendarLastChangedBy, NEW.umCalendarLct) ; END‚ CCƒviewHolidayCalendar_ReceiveViewHolidayCalendar_ReceiveViewCREATE VIEW HolidayCalendar_ReceiveView AS SELECT HolidayCalendar.*, CAST(0 AS BIGINT) AS fromNodeId FROM HolidayCalendar ½á  Ú Ö‚ AAƒviewClazzEnrolment_ReceiveViewClazzEnrolment_ReceiveViewCREATE VIEW ClazzEnrolment_ReceiveView AS SELECT ClazzEnrolment.*, CAST(0 AS BIGINT) AS fromNodeId FROM ClazzEnrolment‹Q ?/–?trigger_dclazz_remote_insert_insClazz_ReceiveViewCREATE TRIGGER _dclazz_remote_insert_ins INSTEAD OF INSERT ON Clazz_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.clazzLct AS BIGINT) > COALESCE((SELECT Clazz_Existing.clazzLct FROM Clazz Clazz_Existing WHERE Clazz_Existing.clazzUid = NEW.clazzUid), 0) ) BEGIN REPLACE INTO Clazz (clazzUid, clazzName, clazzDesc, attendanceAverage, clazzHolidayUMCalendarUid, clazzScheuleUMCalendarUid, isClazzActive, clazzLocationUid, clazzStartTime, clazzEndTime, clazzFeatures, clazzSchoolUid, clazzEnrolmentPolicy, clazzTerminologyUid, clazzMasterChangeSeqNum, clazzLocalChangeSeqNum, clazzLastChangedBy, clazzLct, clazzTimeZone, clazzStudentsPersonGroupUid, clazzTeachersPersonGroupUid, clazzPendingStudentsPersonGroupUid, clazzParentsPersonGroupUid, clazzCode, clazzOwnerPersonUid) VALUES( NEW.clazzUid, NEW.clazzName, NEW.clazzDesc, NEW.attendanceAverage, NEW.clazzHolidayUMCalendarUid, NEW.clazzScheuleUMCalendarUid, NEW.isClazzActive, NEW.clazzLocationUid, NEW.clazzStartTime, NEW.clazzEndTime, NEW.clazzFeatures, NEW.clazzSchoolUid, NEW.clazzEnrolmentPolicy, NEW.clazzTerminologyUid, NEW.clazzMasterChangeSeqNum, NEW.clazzLocalChangeSeqNum, NEW.clazzLastChangedBy, NEW.clazzLct, NEW.clazzTimeZone, NEW.clazzStudentsPersonGroupUid, NEW.clazzTeachersPersonGroupUid, NEW.clazzPendingStudentsPersonGroupUid, NEW.clazzParentsPersonGroupUid, NEW.clazzCode, NEW.clazzOwnerPersonUid) ; ENDX //‚cviewClazz_ReceiveViewClazz_ReceiveViewCREATE VIEW Clazz_ReceiveView AS SELECT Clazz.*, CAST(0 AS BIGINT) AS fromNodeId FROM ClazzA1˜Utrigger_dperson_remote_insert_insPerson_ReceiveViewCREATE TRIGGER _dperson_remote_insert_ins INSTEAD OF INSERT ON Person_ReceiveView FOR EACH ROW WHEN ( SELECT ((NEW.username IS NULL OR (SELECT NOT EXISTS( S‚ ??ƒviewLeavingReason_ReceiveViewLeavingReason_ReceiveViewCREATE VIEW LeavingReason_ReceiveView AS SELECT LeavingReason.*, CAST(0 AS BIGINT) AS fromNodeId FROM LeavingReasonŠ" QA“=trigger_dclazzenrolment_remote_insert_insClazzEnrolment_ReceiveViewCREATE TRIGGER _dclazzenrolment_remote_insert_ins INSTEAD OF INSERT ON ClazzEnrolment_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.clazzEnrolmentLct AS BIGINT) > COALESCE((SELECT ClazzEnrolment_Existing.clazzEnrolmentLct FROM ClazzEnrolment ClazzEnrolment_Existing WHERE ClazzEnrolment_Existing.clazzEnrolmentUid = NEW.clazzEnrolmentUid), 0) ) BEGIN REPLACE INTO ClazzEnrolment (clazzEnrolmentUid, clazzEnrolmentPersonUid, clazzEnrolmentClazzUid, clazzEnrolmentDateJoined, clazzEnrolmentDateLeft, clazzEnrolmentRole, clazzEnrolmentAttendancePercentage, clazzEnrolmentActive, clazzEnrolmentLeavingReasonUid, clazzEnrolmentOutcome, clazzEnrolmentLocalChangeSeqNum, clazzEnrolmentMasterChangeSeqNum, clazzEnrolmentLastChangedBy, clazzEnrolmentLct) VALUES( NEW.clazzEnrolmentUid, NEW.clazzEnrolmentPersonUid, NEW.clazzEnrolmentClazzUid, NEW.clazzEnrolmentDateJoined, NEW.clazzEnrolmentDateLeft, NEW.clazzEnrolmentRole, NEW.clazzEnrolmentAttendancePercentage, NEW.clazzEnrolmentActive, NEW.clazzEnrolmentLeavingReasonUid, NEW.clazzEnrolmentOutcome, NEW.clazzEnrolmentLocalChangeSeqNum, NEW.clazzEnrolmentMasterChangeSeqNum, NEW.clazzEnrolmentLastChangedBy, NEW.clazzEnrolmentLct) ; END   raT‚F[[ƒgviewContentEntryParentChildJoin_ReceiveViewContentEntryParentChildJoin_ReceiveViewCREATE VIEW ContentEntryParentChildJoin_ReceiveView AS SELECT ContentEntryParentChildJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntryParentChildJoin‡/sctrigger_dcontententrycontentcategoryjoin_remote_insert_insContentEntryContentCategoryJoin_ReceiveViewCREATE TRIGGER _dcontententrycontentcategoryjoin_remote_insert_ins INSTEAD OF INSERT ON ContentEntryContentCategoryJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.ceccjLct AS BIGINT) > COALESCE((SELECT ContentEntryContentCategoryJoin_Existing.ceccjLct FROM ContentEntryContentCategoryJoin ContentEntryContentCategoryJoin_Existing WHERE ContentEntryContentCategoryJoin_Existing.ceccjUid = NEW.ceccjUid), 0) ) BEGIN REPLACE INTO ContentEntryContentCategoryJoin (ceccjUid, ceccjContentEntryUid, ceccjContentCategoryUid, ceccjLocalChangeSeqNum, ceccjMasterChangeSeqNum, ceccjLastChangedBy, ceccjLct) VALUES( NEW.ceccjUid, NEW.ceccjContentEntryUid, NEW.ceccjContentCategoryUid, NEW.ceccjLocalChangeSeqNum, NEW.ceccjMasterChangeSeqNum, NEW.ceccjLastChangedBy, NEW.ceccjLct) ; END‚ZccƒviewContentEntryContentCategoryJoin_ReceiveViewContentEntryContentCategoryJoin_ReceiveViewCREATE VIEW ContentEntryContentCategoryJoin_ReceiveView AS SELECT ContentEntryContentCategoryJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntryContentCategoryJoin‹M=•!trigger_dcontententry_remote_insert_insContentEntry_ReceiveViewCREATE TRIGGER _dcontententry_remote_insert_ins INSTEAD OF INSERT ON ContentEntry_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.contentEntryLct AS BIGINT) > COALESCE((SELECT ContentEntry_Existing.contentEntryLct FROM ContentEntry ContentEntry_Existing WHERE ContentEntry_Existing.contentEntryUid = NEW.contentEntryUid), 0) ) BEGIN REPLACE INTO ContentEntry (contentEntryUid, title, description, entryId, author, publisher, licenseType, licenseName, licenseUrl, sourceUrl, thumbnailUrl, lastModified, primaryLanguageUid, languageVariantUid, contentFlags, leaf, publik, ceInactive, completionCriteria, minScore, contentTypeFlag, contentOwner, contentOwnerType, contentEntryLocalChangeSeqNum, contentEntryMasterChangeSeqNum, contentEntryLastChangedBy, contentEntryLct) VALUES( NEW.contentEntryUid, NEW.title, NEW.description, NEW.entryId, NEW.author, NEW.publisher, NEW.licenseType, NEW.licenseName, NEW.licenseUrl, NEW.sourceUrl, NEW.thumbnailUrl, NEW.lastModified, NEW.primaryLanguageUid, NEW.languageVariantUid, NEW.contentFlags, NEW.leaf, NEW.publik, NEW.ceInactive, NEW.completionCriteria, NEW.minScore, NEW.contentTypeFlag, NEW.contentOwner, NEW.contentOwnerType, NEW.contentEntryLocalChangeSeqNum, NEW.contentEntryMasterChangeSeqNum, NEW.contentEntryLastChangedBy, NEW.contentEntryLct) ; END{==ƒ viewContentEntry_ReceiveViewContentEntry_ReceiveViewCREATE VIEW ContentEntry_ReceiveView AS SELECT ContentEntry.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntry…wO?Šktrigger_dleavingreason_remote_insert_insLeavingReason_ReceiveViewCREATE TRIGGER _dleavingreason_remote_insert_ins INSTEAD OF INSERT ON LeavingReason_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.leavingReasonLct AS BIGINT) > COALESCE((SELECT LeavingReason_Existing.leavingReasonLct FROM LeavingReason LeavingReason_Existing WHERE LeavingReason_Existing.leavingReasonUid = NEW.leavingReasonUid), 0) ) BEGIN REPLACE INTO LeavingReason (leavingReasonUid, leavingReasonTitle, leavingReasonMCSN, leavingReasonCSN, leavingReasonLCB, leavingReasonLct) VALUES( NEW.leavingReasonUid, NEW.leavingReasonTitle, NEW.leavingReasonMCSN, NEW.leavingReasonCSN, NEW.leavingReasonLCB, NEW.leavingReasonLct) ; END µÍáµ ÷§‚ CCƒviewContentCategory_ReceiveViewContentCategory_ReceiveViewCREATE VIEW ContentCategory_ReceiveView AS SELECT ContentCategory.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentCategory‚(OOƒCviewContentCategorySchema_ReceiveViewContentCategorySchema_ReceiveViewCREATE VIEW ContentCategorySchema_ReceiveView AS SELECT ContentCategorySchema.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentCategorySchema‡hm]Žtrigger_dcontententryrelatedentryjoin_remote_insert_insContentEntryRelatedEntryJoin_ReceiveViewCREATE TRIGGER _dcontententryrelatedentryjoin_remote_insert_ins INSTEAD OF INSERT ON ContentEntryRelatedEntryJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cerejLct AS BIGINT) > COALESCE((SELECT ContentEntryRelatedEntryJoin_Existing.cerejLct FROM ContentEntryRelatedEntryJoin ContentEntryRelatedEntryJoin_Existing WHERE ContentEntryRelatedEntryJoin_Existing.cerejUid = NEW.cerejUid), 0) ) BEGIN REPLACE INTO ContentEntryRelatedEntryJoin (cerejUid, cerejContentEntryUid, cerejRelatedEntryUid, cerejLastChangedBy, relType, comment, cerejRelLanguageUid, cerejLocalChangeSeqNum, cerejMasterChangeSeqNum, cerejLct) VALUES( NEW.cerejUid, NEW.cerejContentEntryUid, NEW.cerejRelatedEntryUid, NEW.cerejLastChangedBy, NEW.relType, NEW.comment, NEW.cerejRelLanguageUid, NEW.cerejLocalChangeSeqNum, NEW.cerejMasterChangeSeqNum, NEW.cerejLct) ; END‚K]]ƒmviewContentEntryRelatedEntryJoin_ReceiveViewContentEntryRelatedEntryJoin_ReceiveViewCREATE VIEW ContentEntryRelatedEntryJoin_ReceiveView AS SELECT ContentEntryRelatedEntryJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntryRelatedEntryJoin‡Wk[strigger_dcontententryparentchildjoin_remote_insert_insContentEntryParentChildJoin_ReceiveViewCREATE TRIGGER _dcontententryparentchildjoin_remote_insert_ins INSTEAD OF INSERT ON ContentEntryParentChildJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cepcjLct AS BIGINT) > COALESCE((SELECT ContentEntryParentChildJoin_Existing.cepcjLct FROM ContentEntryParentChildJoin ContentEntryParentChildJoin_Existing WHERE ContentEntryParentChildJoin_Existing.cepcjUid = NEW.cepcjUid), 0) ) BEGIN REPLACE INTO ContentEntryParentChildJoin (cepcjUid, cepcjLocalChangeSeqNum, cepcjMasterChangeSeqNum, cepcjLastChangedBy, cepcjLct, cepcjDeleted, cepcjParentContentEntryUid, cepcjChildContentEntryUid, childIndex) VALUES( NEW.cepcjUid, NEW.cepcjLocalChangeSeqNum, NEW.cepcjMasterChangeSeqNum, NEW.cepcjLastChangedBy, NEW.cepcjLct, NEW.cepcjDeleted, NEW.cepcjParentContentEntryUid, NEW.cepcjChildContentEntryUid, NEW.childIndex) ; ENDˆ_OŽgtrigger_dcontentcategoryschema_remote_insert_insContentCategorySchema_ReceiveViewCREATE TRIGGER _dcontentcategoryschema_remote_insert_ins INSTEAD OF INSERT ON ContentCategorySchema_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.contentCategorySchemaLct AS BIGINT) > COALESCE((SELECT ContentCategorySchema_Existing.contentCategorySchemaLct FROM ContentCategorySchema ContentCategorySchema_Existing WHERE ContentCategorySchema_Existing.contentCategorySchemaUid = NEW.contentCategorySchemaUid), 0) ) BEGIN REPLACE INTO ContentCategorySchema (contentCategorySchemaUid, schemaName, schemaUrl, contentCategorySchemaLocalChangeSeqNum, contentCategorySchemaMasterChangeSeqNum, contentCategorySchemaLastChangedBy, contentCategorySchemaLct) VALUES( NEW.contentCategorySchemaUid, NEW.schemaName, NEW.schemaUrl, NEW.contentCategorySchemaLocalChangeSeqNum, NEW.contentCategorySchemaMasterChangeSeqNum, NEW.contentCategorySchemaLastChangedBy, NEW.contentCategorySchemaLct) ; END ÷ éLa «v;;ƒviewPersonGroup_ReceiveViewPersonGroup_ReceiveViewCREATE VIEW PersonGroup_ReceiveView AS SELECT PersonGroup.*, CAST(0 AS BIGINT) AS fromNodeId FROM PersonGroup‚ CCƒviewLanguageVariant_ReceiveViewLanguageVariant_ReceiveViewCREATE VIEW LanguageVariant_ReceiveView AS SELECT LanguageVariant.*, CAST(0 AS BIGINT) AS fromNodeId FROM LanguageVariant†FE5Œtrigger_dlanguage_remote_insert_insLanguage_ReceiveViewCREATE TRIGGER _dlanguage_remote_insert_ins INSTEAD OF INSERT ON Language_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.langLct AS BIGINT) > COALESCE((SELECT Language_Existing.langLct FROM Language Language_Existing WHERE Language_Existing.langUid = NEW.langUid), 0) ) BEGIN REPLACE INTO Language (langUid, name, iso_639_1_standard, iso_639_2_standard, iso_639_3_standard, Language_Type, languageActive, langLocalChangeSeqNum, langMasterChangeSeqNum, langLastChangedBy, langLct) VALUES( NEW.langUid, NEW.name, NEW.iso_639_1_standard, NEW.iso_639_2_standard, NEW.iso_639_3_standard, NEW.Language_Type, NEW.languageActive, NEW.langLocalChangeSeqNum, NEW.langMasterChangeSeqNum, NEW.langLastChangedBy, NEW.langLct) ; ENDg55‚uviewLanguage_ReceiveViewLanguage_ReceiveViewCREATE VIEW Language_ReceiveView AS SELECT Language.*, CAST(0 AS BIGINT) AS fromNodeId FROM Language‡SC'trigger_dcontentcategory_remote_insert_insContentCategory_ReceiveViewCREATE TRIGGER _dcontentcategory_remote_insert_ins INSTEAD OF INSERT ON ContentCategory_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.contentCategoryLct AS BIGINT) > COALESCE((SELECT ContentCategory_Existing.contentCategoryLct FROM ContentCategory ContentCategory_Existing WHERE ContentCategory_Existing.contentCategoryUid = NEW.contentCategoryUid), 0) ) BEGIN REPLACE INTO ContentCategory (contentCategoryUid, ctnCatContentCategorySchemaUid, name, contentCategoryLocalChangeSeqNum, contentCategoryMasterChangeSeqNum, contentCategoryLastChangedBy, contentCategoryLct) VALUES( NEW.contentCategoryUid, NEW.ctnCatContentCategorySchemaUid, NEW.name, NEW.contentCategoryLocalChangeSeqNum, NEW.contentCategoryMasterChangeSeqNum, NEW.contentCategoryLastChangedBy, NEW.contentCategoryLct) ; END‚ CCƒviewContentCategory_ReceiveViewContentCategory_ReceiveViewCREATE VIEW ContentCategory_ReceiveView AS SELECT ContentCategory.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentCategory´_OŽgtrigger_dcontentcategoryschema_remote_insert_insContentCategorySchema_ReceiveViewCREATE TRIGGER _dcontentcategoryschema_remote_insert_ins INSTEAD OF INSERT ON †QSCŒtrigger_dlanguagevariant_remote_insert_insLanguageVariant_ReceiveViewCREATE TRIGGER _dlanguagevariant_remote_insert_ins INSTEAD OF INSERT ON LanguageVariant_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.langVariantLct AS BIGINT) > COALESCE((SELECT LanguageVariant_Existing.langVariantLct FROM LanguageVariant LanguageVariant_Existing WHERE LanguageVariant_Existing.langVariantUid = NEW.langVariantUid), 0) ) BEGIN REPLACE INTO LanguageVariant (langVariantUid, langUid, countryCode, name, langVariantLocalChangeSeqNum, langVariantMasterChangeSeqNum, langVariantLastChangedBy, langVariantLct) VALUES( NEW.langVariantUid, NEW.langUid, NEW.countryCode, NEW.name, NEW.langVariantLocalChangeSeqNum, NEW.langVariantMasterChangeSeqNum, NEW.langVariantLastChangedBy, NEW.langVariantLct) ; END ±>ÞÆ?;> á Ø%…y$O?Šotrigger_dpersonpicture_remote_insert_insPersonPicture_ReceiveViewCREATE TRIGGER _dpersonpicture_remote_insert_ins INSTEAD OF INSERT ON PersonPicture_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.personPictureLct AS BIGINT) > COALESCE((SELECT PersonPicture_Existing.personPictureLct FROM PersonPicture PersonPicture_Existing WHERE PersonPicture_Existing.personPictureUid = NEW.personPictureUid), 0) ) BEGIN REPLACE INTO PersonPicture (personPictureUid, personPictureLct, personPictureUri, personPictureThumbnailUri, fileSize, personPictureActive) VALUES( NEW.personPictureUid, NEW.personPictureLct, NEW.personPictureUri, NEW.personPictureThumbnailUri, NEW.fileSize, NEW.personPictureActive) ; END‚#??ƒviewPersonPicture_ReceiveViewPersonPicture_ReceiveViewCREATE VIEW PersonPicture_ReceiveView AS SELECT PersonPicture.*, CAST(0 AS BIGINT) AS fromNodeId FROM PersonPicture‡"WGŒstrigger_dpersongroupmember_remote_insert_insPersonGroupMember_ReceiveViewCREATE TRIGGER _dpersongroupmember_remote_insert_ins INSTEAD OF INSERT ON PersonGroupMember_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.groupMemberLct AS BIGINT) > COALESCE((SELECT PersonGroupMember_Existing.groupMemberLct FROM PersonGroupMember PersonGroupMember_Existing WHERE PersonGroupMember_Existing.groupMemberUid = NEW.groupMemberUid), 0) ) BEGIN REPLACE INTO PersonGroupMember (groupMemberUid, groupMemberActive, groupMemberPersonUid, groupMemberGroupUid, groupMemberMasterCsn, groupMemberLocalCsn, groupMemberLastChangedBy, groupMemberLct) VALUES( NEW.groupMemberUid, NEW.groupMemberActive, NEW.groupMemberPersonUid, NEW.groupMemberGroupUid, NEW.groupMemberMasterCsn, NEW.groupMemberLocalCsn, NEW.groupMemberLastChangedBy, NEW.groupMemberLct) ; END‚!GGƒ+viewPersonGroupMember_ReceiveViewPersonGroupMember_ReceiveViewCREATE VIEW PersonGroupMember_ReceiveView AS SELECT PersonGroupMember.*, CAST(0 AS BIGINT) AS fromNodeId FROM PersonGroupMember…O K;Š#trigger_dpersongroup_remote_insert_insPersonGroup_ReceiveViewCREATE TRIGGER _dpersongroup_remote_insert_ins INSTEAD OF INSERT ON PersonGroup_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.groupLct AS BIGINT) > COALESCE((SELECT PersonGroup_Existing.groupLct FROM PersonGroup PersonGroup_Existing WHERE PersonGroup_Existing.groupUid = NEW.groupUid), 0) ) BEGIN REPLACE INTO PersonGroup (groupUid, groupMasterCsn, groupLocalCsn, groupLastChangedBy, groupLct, groupName, groupActive, personGroupFlag) VALUES( NEW.groupUid, NEW.groupMasterCsn, NEW.groupLocalCsn, NEW.groupLastChangedBy, NEW.groupLct, NEW.groupName, NEW.groupActive, NEW.personGroupFlag) ; END0;;ƒviewPersonGroup_ReceiveViewP‚'AAƒviewActivityEntity_ReceiveViewActivityEntity_ReceiveViewCREATE VIEW ActivityEntity_ReceiveView AS SELECT ActivityEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM ActivityEntity„&&I9‡Utrigger_dverbentity_remote_insert_insVerbEntity_ReceiveViewCREATE TRIGGER _dverbentity_remote_insert_ins INSTEAD OF INSERT ON VerbEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.verbLct AS BIGINT) > COALESCE((SELECT VerbEntity_Existing.verbLct FROM VerbEntity VerbEntity_Existing WHERE VerbEntity_Existing.verbUid = NEW.verbUid), 0) ) BEGIN REPLACE INTO VerbEntity (verbUid, verbUrlId, verbDeleted, verbLct) VALUES( NEW.verbUid, NEW.verbUrlId, NEW.verbDeleted, NEW.verbLct) ; ENDq%99ƒviewVerbEntity_ReceiveViewVerbEntity_ReceiveViewCREATE VIEW VerbEntity_ReceiveView AS SELECT VerbEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM VerbEntity á Ø f*SCžAtrigger_dstatemententity_remote_insert_insStatementEntity_ReceiveViewCREATE TRIGGER _dstatemententity_remote_insert_ins INSTEAD OF INSERT ON StatementEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.statementLct AS BIGINT) > COALESCE((SELECT StatementEntity_Existing.statementLct FROM StatementEntity StatementEntity_Existing WHERE StatementEntity_Existing.statementIdHi = NEW.statementIdHi AND StatementEntity_Existing.statementIdLo = NEW.statementIdLo), 0) ) BEGIN REPLACE INTO StatementEntity (statementIdHi, statementIdLo, statementActorPersonUid, statementVerbUid, statementObjectType, statementObjectUid1, statementObjectUid2, statementActorUid, authorityActorUid, teamUid, resultCompletion, resultSuccess, resultScoreScaled, resultScoreRaw, resultScoreMin, resultScoreMax, resultDuration, resultResponse, timestamp, stored, contextRegistrationHi, contextRegistrationLo, contextPlatform, contextStatementRefIdHi, contextStatementRefIdLo, contextInstructorActorUid, statementLct, extensionProgress, completionOrProgress, statementContentEntryUid, statementLearnerGroupUid, statementClazzUid, statementCbUid, statementDoorNode, isSubStatement) VALUES( NEW.statementIdHi, NEW.statementIdLo, NEW.statementActorPersonUid, NEW.statementVerbUid, NEW.statementObjectType, NEW.statementObjectUid1, NEW.statementObjectUid2, NEW.statementActorUid, NEW.authorityActorUid, NEW.teamUid, NEW.resultCompletion, NEW.resultSuccess, NEW.resultScoreScaled, NEW.resultScoreRaw, NEW.resultScoreMin, NEW.resultScoreMax, NEW.resultDuration, NEW.resultResponse, NEW.timestamp, NEW.stored, NEW.contextRegistrationHi, NEW.contextRegistrationLo, NEW.contextPlatform, NEW.contextStatementRefIdHi, NEW.contextStatementRefIdLo, NEW.contextInstructorActorUid, NEW.statementLct, NEW.extensionProgress, NEW.completionOrProgress, NEW.statementContentEntryUid, NEW.statementLearnerGroupUid, NEW.statementClazzUid, NEW.statementCbUid, NEW.statementDoorNode, NEW.isSubStatement) ; END‚ )CCƒviewStatementEntity_ReceiveViewStatementEntity_ReceiveViewCREATE VIEW StatementEntity_ReceiveView AS SELECT StatementEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM StatementEntity…>(QA‰utrigger_dactivityentity_remote_insert_insActivityEntity_ReceiveViewCREATE TRIGGER _dactivityentity_remote_insert_ins INSTEAD OF INSERT ON ActivityEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.actLct AS BIGINT) > COALESCE((SELECT ActivityEntity_Existing.actLct FROM ActivityEntity ActivityEntity_Existing WHERE ActivityEntity_Existing.actUid = NEW.actUid), 0) ) BEGIN REPLACE INTO ActivityEntity (actUid, actIdIri, actType, actMoreInfo, actInteractionType, actCorrectResponsePatterns, actLct) VALUES( NEW.actUid, NEW.actIdIri, NEW.actType, NEW.actMoreInfo, NEW.actInteractionType, NEW.actCorrectResponsePatterns, NEW.actLct) ; END‚'AAƒviewActivityEntity_ReceiveViewActivityEntity_ReceiveViewCREATE VIEW ActivityEntity_ReceiveView AS SELECT ActivityEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM ActivityEntity%I9‡Utrigger_dverbentity_remote_insert_insVerbEntity_ReceiveViewCREATE TRIGGER _dverbentity_remote_insert_ins INSTEAD OF INSERT ON VerbEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.verbLct AS BIGINT) > COALESCE((SELECT VerbEntity_Existing.verbLct FROM VerbEntity VerbEntity_Existing WHERE VerbEntity_Existing.verbUid = NEW.verbUid), 0) ) BEGIN REPLACE INTO VerbEntity (verbUid, verbUrlId, verbDeleted, verbLct) VALUES( NEW.verbUid, NEW.verbUrlId, NEW.verbDeleted, NEW.verbLct) v+;;ƒviewActorEntity_ReceiveViewActorEntity_ReceiveViewCREATE VIEW ActorEntity_ReceiveView AS SELECT ActorEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM ActorEntity µ Ë àTsµ)S1--‚]viewSite_ReceiveViewSite_ReceiveViewCREATE VIEW Site_ReceiveView AS SELECT Site.*, CAST(0 AS BIGINT) AS fromNodeId FROM Site‰:0A1’ trigger_dreport_remote_insert_insReport_ReceiveViewCREATE TRIGGER _dreport_remote_insert_ins INSTEAD OF INSERT ON Report_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.reportLct AS BIGINT) > COALESCE((SELECT Report_Existing.reportLct FROM Report Report_Existing WHERE Report_Existing.reportUid = NEW.reportUid), 0) ) BEGIN REPLACE INTO Report (reportUid, reportOwnerUid, xAxis, reportDateRangeSelection, fromDate, fromRelTo, fromRelOffSet, fromRelUnit, toDate, toRelTo, toRelOffSet, toRelUnit, reportTitle, reportDescription, reportSeries, reportInactive, isTemplate, priority, reportTitleId, reportDescId, reportMasterChangeSeqNum, reportLocalChangeSeqNum, reportLastChangedBy, reportLct) VALUES( NEW.reportUid, NEW.reportOwnerUid, NEW.xAxis, NEW.reportDateRangeSelection, NEW.fromDate, NEW.fromRelTo, NEW.fromRelOffSet, NEW.fromRelUnit, NEW.toDate, NEW.toRelTo, NEW.toRelOffSet, NEW.toRelUnit, NEW.reportTitle, NEW.reportDescription, NEW.reportSeries, NEW.reportInactive, NEW.isTemplate, NEW.priority, NEW.reportTitleId, NEW.reportDescId, NEW.reportMasterChangeSeqNum, NEW.reportLocalChangeSeqNum, NEW.reportLastChangedBy, NEW.reportLct) ; END]/11‚iviewReport_ReceiveViewReport_ReceiveViewCREATE VIEW Report_ReceiveView AS SELECT Report.*, CAST(0 AS BIGINT) AS fromNodeId FROM Report‡.E5!trigger_dcomments_remote_insert_insComments_ReceiveViewCREATE TRIGGER _dcomments_remote_insert_ins INSTEAD OF INSERT ON Comments_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.commentsLct AS BIGINT) > COALESCE((SELECT Comments_Existing.commentsLct FROM Comments Comments_Existing WHERE Comments_Existing.commentsUid = NEW.commentsUid), 0) ) BEGIN REPLACE INTO Comments (commentsUid, commentsText, commentsEntityUid, commentsStatus, commentsFromPersonUid, commentsForSubmitterUid, commentsFromSubmitterUid, commentsFlagged, commentsDeleted, commentsDateTimeAdded, commentsLct) VALUES( NEW.commentsUid, NEW.commentsText, NEW.commentsEntityUid, NEW.commentsStatus, NEW.commentsFromPersonUid, NEW.commentsForSubmitterUid, NEW.commentsFromSubmitterUid, NEW.commentsFlagged, NEW.commentsDeleted, NEW.commentsDateTimeAdded, NEW.commentsLct) ; ENDg-55‚uviewComments_ReceiveViewComments_ReceiveViewCREATE VIEW Comments_ReceiveView AS SELECT Comments.*, CAST(0 AS BIGINT) AS fromNodeId FROM Comments†7,K;‹strigger_dagententity_remote_insert_insActorEntity_ReceiveViewCREATE TRIGGER _dagententity_remote_insert_ins INSTEAD OF INSERT ON ActorEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.actorLct AS BIGINT) > COALESCE((SELECT ActorEntity_Existing.actorLct FROM ActorEntity ActorEntity_Existing WHERE ActorEntity_Existing.actorUid = NEW.actorUid), 0) ) BEGIN REPLACE INTO ActorEntity (actorUid, actorPersonUid, actorName, actorMbox, actorMbox_sha1sum, actorOpenid, actorAccountName, actorAccountHomePage, actorEtag, actorLct, actorObjectType) VALUES( NEW.actorUid, NEW.actorPersonUid, NEW.actorName, NEW.actorMbox, NEW.actorMbox_sha1sum, NEW.actorOpenid, NEW.actorAccountName, NEW.actorAccountHomePage, NEW.actorEtag, NEW.actorLct, NEW.actorObjectType) ; END#;;ƒviewActorEntity_ReceiveVS1--‚]viewSite_ReceiveViewSite_ReceiveViewCREATE VIEW Site_ReceiveView AS SELECT Site.*, CAST(0 AS BIGINT) AS fromNodeId FROM Site * m }’áç$*Dv9;;ƒviewErrorReport_ReceiveViewErrorReport_ReceiveViewCREATE VIEW ErrorReport_ReceiveView AS SELECT ErrorReport.*, CAST(0 AS BIGINT) AS fromNodeId FROM ErrorReportƒ?89;†trigger_dsg_remote_insert_insScopedGrant_ReceiveViewCREATE TRIGGER _dsg_remote_insert_ins INSTEAD OF INSERT ON ScopedGrant_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.sgLct AS BIGINT) > COALESCE((SELECT ScopedGrant_Existing.sgLct FROM ScopedGrant ScopedGrant_Existing WHERE ScopedGrant_Existing.sgUid = NEW.sgUid), 0) ) BEGIN UPDATE ScopedGrant SET sgLct = 0 WHERE sgUid = 0; ENDv7;;ƒviewScopedGrant_ReceiveViewScopedGrant_ReceiveViewCREATE VIEW ScopedGrant_ReceiveView AS SELECT ScopedGrant.*, CAST(0 AS BIGINT) AS fromNodeId FROM ScopedGrant‡6UE%trigger_dpersonparentjoin_remote_insert_insPersonParentJoin_ReceiveViewCREATE TRIGGER _dpersonparentjoin_remote_insert_ins INSTEAD OF INSERT ON PersonParentJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.ppjLct AS BIGINT) > COALESCE((SELECT PersonParentJoin_Existing.ppjLct FROM PersonParentJoin PersonParentJoin_Existing WHERE PersonParentJoin_Existing.ppjUid = NEW.ppjUid), 0) ) BEGIN REPLACE INTO PersonParentJoin (ppjUid, ppjPcsn, ppjLcsn, ppjLcb, ppjLct, ppjParentPersonUid, ppjMinorPersonUid, ppjRelationship, ppjEmail, ppjPhone, ppjInactive, ppjStatus, ppjApprovalTiemstamp, ppjApprovalIpAddr) VALUES( NEW.ppjUid, NEW.ppjPcsn, NEW.ppjLcsn, NEW.ppjLcb, NEW.ppjLct, NEW.ppjParentPersonUid, NEW.ppjMinorPersonUid, NEW.ppjRelationship, NEW.ppjEmail, NEW.ppjPhone, NEW.ppjInactive, NEW.ppjStatus, NEW.ppjApprovalTiemstamp, NEW.ppjApprovalIpAddr) ; END‚5EEƒ%viewPersonParentJoin_ReceiveViewPersonParentJoin_ReceiveViewCREATE VIEW PersonParentJoin_ReceiveView AS SELECT PersonParentJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM PersonParentJoin…g4G7Š[trigger_dsiteterms_remote_insert_insSiteTerms_ReceiveViewCREATE TRIGGER _dsiteterms_remote_insert_ins INSTEAD OF INSERT ON SiteTerms_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.sTermsLct AS BIGINT) > COALESCE((SELECT SiteTerms_Existing.sTermsLct FROM SiteTerms SiteTerms_Existing WHERE SiteTerms_Existing.sTermsUid = NEW.sTermsUid), 0) ) BEGIN REPLACE INTO SiteTerms (sTermsUid, termsHtml, sTermsLang, sTermsLangUid, sTermsActive, sTermsLastChangedBy, sTermsPrimaryCsn, sTermsLocalCsn, sTermsLct) VALUES( NEW.sTermsUid, NEW.termsHtml, NEW.sTermsLang, NEW.sTermsLangUid, NEW.sTermsActive, NEW.sTermsLastChangedBy, NEW.sTermsPrimaryCsn, NEW.sTermsLocalCsn, NEW.sTermsLct) ; ENDl377‚{viewSiteTerms_ReceiveViewSiteTerms_ReceiveViewCREATE VIEW SiteTerms_ReceiveView AS SELECT SiteTerms.*, CAST(0 AS BIGINT) AS fromNodeId FROM SiteTerms‡2=-?trigger_dsite_remote_insert_insSite_ReceiveViewCREATE TRIGGER _dsite_remote_insert_ins INSTEAD OF INSERT ON Site_ReceiveView FOR EACH ROW WHEN ( SELECT ((SELECT COUNT(*) FROM Site) = 0 OR NEW.authSalt = (SELECT Site.authSalt FROM Site LIMIT 1)) AND (SELECT CAST(NEW.siteLct AS BIGINT) > COALESCE((SELECT Site_Existing.siteLct FROM Site Site_Existing WHERE Site_Existing.siteUid = NEW.siteUid), 0) ) ) BEGIN REPLACE INTO Site (siteUid, sitePcsn, siteLcsn, siteLcb, siteLct, siteName, guestLogin, registrationAllowed, authSalt) VALUES( NEW.siteUid, NEW.sitePcsn, NEW.siteLcsn, NEW.siteLcb, NEW.siteLct, NEW.siteName, NEW.guestLogin, NEW.registrationAllowed, NEW.authSalt) ; END « _Qð« ¤R‚U?aaƒyviewCourseAssignmentSubmissionFile_ReceiveViewCourseAssignmentSubmissionFile_ReceiveViewCREATE VIEW CourseAssignmentSubmissionFile_ReceiveView AS SELECT CourseAssignmentSubmissionFile.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseAssignmentSubmissionFile‚A=YYƒaviewCourseAssignmentSubmission_ReceiveViewCourseAssignmentSubmission_ReceiveViewCREATE VIEW CourseAssignmentSubmission_ReceiveView AS SELECT CourseAssignmentSubmission.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseAssignmentSubmissionŠ]<SC”/trigger_dclazzassignment_remote_insert_insClazzAssignment_ReceiveViewCREATE TRIGGER _dclazzassignment_remote_insert_ins INSTEAD OF INSERT ON ClazzAssignment_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.caLct AS BIGINT) > COALESCE((SELECT ClazzAssignment_Existing.caLct FROM ClazzAssignment ClazzAssignment_Existing WHERE ClazzAssignment_Existing.caUid = NEW.caUid), 0) ) BEGIN REPLACE INTO ClazzAssignment (caUid, caTitle, caDescription, caGroupUid, caActive, caClassCommentEnabled, caPrivateCommentsEnabled, caCompletionCriteria, caRequireFileSubmission, caFileType, caSizeLimit, caNumberOfFiles, caSubmissionPolicy, caMarkingType, caRequireTextSubmission, caTextLimitType, caTextLimit, caXObjectUid, caClazzUid, caPeerReviewerCount, caLocalChangeSeqNum, caMasterChangeSeqNum, caLastChangedBy, caLct) VALUES( NEW.caUid, NEW.caTitle, NEW.caDescription, NEW.caGroupUid, NEW.caActive, NEW.caClassCommentEnabled, NEW.caPrivateCommentsEnabled, NEW.caCompletionCriteria, NEW.caRequireFileSubmission, NEW.caFileType, NEW.caSizeLimit, NEW.caNumberOfFiles, NEW.caSubmissionPolicy, NEW.caMarkingType, NEW.caRequireTextSubmission, NEW.caTextLimitType, NEW.caTextLimit, NEW.caXObjectUid, NEW.caClazzUid, NEW.caPeerReviewerCount, NEW.caLocalChangeSeqNum, NEW.caMasterChangeSeqNum, NEW.caLastChangedBy, NEW.caLct) ; END‚ ;CCƒviewClazzAssignment_ReceiveViewClazzAssignment_ReceiveViewCREATE VIEW ClazzAssignment_ReceiveView AS SELECT ClazzAssignment.*, CAST(0 AS BIGINT) AS fromNodeId FROM ClazzAssignment†A:K;Œtrigger_derrorreport_remote_insert_insErrorReport_ReceiveViewCREATE TRIGGER _derrorreport_remote_insert_ins INSTEAD OF INSERT ON ErrorReport_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.errLct AS BIGINT) > COALESCE((SELECT ErrorReport_Existing.errLct FROM ErrorReport ErrorReport_Existing WHERE ErrorReport_Existing.errUid = NEW.errUid), 0) ) BEGIN REPLACE INTO ErrorReport (errUid, errPcsn, errLcsn, errLcb, errLct, severity, timestamp, presenterUri, appVersion, versionCode, errorCode, operatingSys, osVersion, stackTrace, message) VALUES( NEW.errUid, NEW.errPcsn, NEW.errLcsn, NEW.errLcb, NEW.errLct, NEW.severity, NEW.timestamp, NEW.presenterUri, NEW.appVersion, NEW.versionCode, NEW.errorCode, NEW.operatingSys, NEW.osVersion, NEW.stackTrace, NEW.message) ; END†X>iY‹ytrigger_dcourseassignmentsubmission_remote_insert_insCourseAssignmentSubmission_ReceiveViewCREATE TRIGGER _dcourseassignmentsubmission_remote_insert_ins INSTEAD OF INSERT ON CourseAssignmentSubmission_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.casTimestamp AS BIGINT) > COALESCE((SELECT CourseAssignmentSubmission_Existing.casTimestamp FROM CourseAssignmentSubmission CourseAssignmentSubmission_Existing WHERE CourseAssignmentSubmission_Existing.casUid = NEW.casUid), 0) ) BEGIN REPLACE INTO CourseAssignmentSubmission (casUid, casAssignmentUid, casSubmitterUid, casSubmitterPersonUid, casText, casType, casTimestamp, casClazzUid) VALUES( NEW.casUid, NEW.casAssignmentUid, NEW.casSubmitterUid, NEW.casSubmitterPersonUid, NEW.casText, NEW.casType, NEW.casTimestamp, NEW.casClazzUid) ; END ï§ Å žééïvE;;ƒviewPersonAuth2_ReceiveViewPersonAuth2_ReceiveViewCREATE VIEW PersonAuth2_ReceivevE;;ƒviewPersonAuth2_ReceiveViewPersonAuth2_ReceiveViewCREATE VIEW PersonAuth2_ReceiveView AS SELECT PersonAuth2.*, CAST(0 AS BIGINT) AS fromNodeId FROM PersonAuth2…|DaQŠQtrigger_dpeerreviewerallocation_remote_insert_insPeerReviewerAllocation_ReceiveViewCREATE TRIGGER _dpeerreviewerallocation_remote_insert_ins INSTEAD OF INSERT ON PeerReviewerAllocation_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.praLct AS BIGINT) > COALESCE((SELECT PeerReviewerAllocation_Existing.praLct FROM PeerReviewerAllocation PeerReviewerAllocation_Existing WHERE PeerReviewerAllocation_Existing.praUid = NEW.praUid), 0) ) BEGIN REPLACE INTO PeerReviewerAllocation (praUid, praMarkerSubmitterUid, praToMarkerSubmitterUid, praAssignmentUid, praActive, praLct) VALUES( NEW.praUid, NEW.praMarkerSubmitterUid, NEW.praToMarkerSubmitterUid, NEW.praAssignmentUid, NEW.praActive, NEW.praLct) ; END‚-CQQƒIviewPeerReviewerAllocation_ReceiveViewPeerReviewerAllocation_ReceiveViewCREATE VIEW PeerReviewerAllocation_ReceiveView AS SELECT PeerReviewerAllocation.*, CAST(0 AS BIGINT) AS fromNodeId FROM PeerReviewerAllocation‡B]MŒatrigger_dcourseassignmentmark_remote_insert_insCourseAssignmentMark_ReceiveViewCREATE TRIGGER _dcourseassignmentmark_remote_insert_ins INSTEAD OF INSERT ON CourseAssignmentMark_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.camLct AS BIGINT) > COALESCE((SELECT CourseAssignmentMark_Existing.camLct FROM CourseAssignmentMark CourseAssignmentMark_Existing WHERE CourseAssignmentMark_Existing.camUid = NEW.camUid), 0) ) BEGIN REPLACE INTO CourseAssignmentMark (camUid, camAssignmentUid, camSubmitterUid, camMarkerSubmitterUid, camMarkerPersonUid, camMarkerComment, camMark, camMaxMark, camPenalty, camLct, camClazzUid) VALUES( NEW.camUid, NEW.camAssignmentUid, NEW.camSubmitterUid, NEW.camMarkerSubmitterUid, NEW.camMarkerPersonUid, NEW.camMarkerComment, NEW.camMark, NEW.camMaxMark, NEW.camPenalty, NEW.camLct, NEW.camClazzUid) ; END‚#AMMƒ=viewCourseAssignmentMark_ReceiveViewCourseAssignmentMark_ReceiveViewCREATE VIEW CourseAssignmentMark_ReceiveView AS SELECT CourseAssignmentMark.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseAssignmentMark‡^@}aitrigger_dcourseassignmentsubmissionattachment_remote_insert_insCourseAssignmentSubmissionFile_ReceiveViewCREATE TRIGGER _dcourseassignmentsubmissionattachment_remote_insert_ins INSTEAD OF INSERT ON CourseAssignmentSubmissionFile_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.casaTimestamp AS BIGINT) > COALESCE((SELECT CourseAssignmentSubmissionFile_Existing.casaTimestamp FROM CourseAssignmentSubmissionFile CourseAssignmentSubmissionFile_Existing WHERE CourseAssignmentSubmissionFile_Existing.casaUid = NEW.casaUid), 0) ) BEGIN REPLACE INTO CourseAssignmentSubmissionFile (casaUid, casaSubmissionUid, casaSubmitterUid, casaCaUid, casaClazzUid, casaMimeType, casaFileName, casaUri, casaSize, casaTimestamp, casaDeleted) VALUES( NEW.casaUid, NEW.casaSubmissionUid, NEW.casaSubmitterUid, NEW.casaCaUid, NEW.casaClazzUid, NEW.casaMimeType, NEW.casaFileName, NEW.casaUri, NEW.casaSize, NEW.casaTimestamp, NEW.casaDeleted) ; END‚U?aaƒyviewCourseAssignmentSubmissionFile_ReceiveViewCourseAssignmentSubmissionFile_ReceiveViewCREATE VIEW CourseAssignmentSubmissionFile_ReceiveView AS SELECT CourseAssignmentSubmissionFile.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseAssignmentSubmissionFile D s y tëñD;·M‰)LK;‘Wtrigger_dcourseblock_remote_insert_insCourseBlock_ReceiveViewCREATE TRIGGER _dcourseblock_remote_insert_ins INSTEAD OF INSERT ON CourseBlock_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cbLct AS BIGINT) > COALESCE((SELECT CourseBlock_Existing.cbLct FROM CourseBlock CourseBlock_Existing WHERE CourseBlock_Existing.cbUid = NEW.cbUid), 0) ) BEGIN REPLACE INTO CourseBlock (cbUid, cbType, cbIndentLevel, cbModuleParentBlockUid, cbTitle, cbDescription, cbCompletionCriteria, cbHideUntilDate, cbDeadlineDate, cbLateSubmissionPenalty, cbGracePeriodDate, cbMaxPoints, cbMinPoints, cbIndex, cbClazzUid, cbClazzSourcedId, cbActive, cbHidden, cbEntityUid, cbLct, cbSourcedId, cbMetadata, cbCreatedByAppId) VALUES( NEW.cbUid, NEW.cbType, NEW.cbIndentLevel, NEW.cbModuleParentBlockUid, NEW.cbTitle, NEW.cbDescription, NEW.cbCompletionCriteria, NEW.cbHideUntilDate, NEW.cbDeadlineDate, NEW.cbLateSubmissionPenalty, NEW.cbGracePeriodDate, NEW.cbMaxPoints, NEW.cbMinPoints, NEW.cbIndex, NEW.cbClazzUid, NEW.cbClazzSourcedId, NEW.cbActive, NEW.cbHidden, NEW.cbEntityUid, NEW.cbLct, NEW.cbSourcedId, NEW.cbMetadata, NEW.cbCreatedByAppId) ; ENDvK;;ƒviewCourseBlock_ReceiveViewCourseBlock_ReceiveViewCREATE VIEW CourseBlock_ReceiveView AS SELECT CourseBlock.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseBlock…JI9‰)trigger_dcontentjob_remote_insert_insContentJob_ReceiveViewCREATE TRIGGER _dcontentjob_remote_insert_ins INSTEAD OF INSERT ON ContentJob_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cjLct AS BIGINT) > COALESCE((SELECT ContentJob_Existing.cjLct FROM ContentJob ContentJob_Existing WHERE ContentJob_Existing.cjUid = NEW.cjUid), 0) ) BEGIN REPLACE INTO ContentJob (cjUid, toUri, cjProgress, cjTotal, cjNotificationTitle, cjIsMeteredAllowed, params, cjLct) VALUES( NEW.cjUid, NEW.toUri, NEW.cjProgress, NEW.cjTotal, NEW.cjNotificationTitle, NEW.cjIsMeteredAllowed, NEW.params, NEW.cjLct) ; ENDqI99ƒviewContentJob_ReceiveViewContentJob_ReceiveViewCREATE VIEW ContentJob_ReceiveView AS SELECT ContentJob.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentJob†HK;‹trigger_dusersession_remote_insert_insUserSession_ReceiveViewCREATE TRIGGER _dusersession_remote_insert_ins INSTEAD OF INSERT ON UserSession_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.usLct AS BIGINT) > COALESCE((SELECT UserSession_Existing.usLct FROM UserSession UserSession_Existing WHERE UserSession_Existing.usUid = NEW.usUid), 0) ) BEGIN REPLACE INTO UserSession (usUid, usPcsn, usLcsn, usLcb, usLct, usPersonUid, usClientNodeId, usStartTime, usEndTime, usStatus, usReason, usAuth, usSessionType) VALUES( NEW.usUid, NEW.usPcsn, NEW.usLcsn, NEW.usLcb, NEW.usLct, NEW.usPersonUid, NEW.usClientNodeId, NEW.usStartTime, NEW.usEndTime, NEW.usStatus, NEW.usReason, NEW.usAuth, NEW.usSessionType) ; ENDvG;;ƒviewUserSession_ReceiveViewUserSession_ReceiveViewCREATE VIEW UserSession_ReceiveView AS SELECT UserSession.*, CAST(0 AS BIGINT) AS fromNodeId FROM UserSession… FK;‰trigger_dpersonauth2_remote_insert_insPersonAuth2_ReceiveViewCREATE TRIGGER _dpersonauth2_remote_insert_ins INSTEAD OF INSERT ON PersonAuth2_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.pauthLct AS BIGINT) > COALESCE((SELECT PersonAuth2_Existing.pauthLct FROM PersonAuth2 PersonAuth2_Existing WHERE PersonAuth2_Existing.pauthUid = NEW.pauthUid), 0) ) BEGIN REPLACE INTO PersonAuth2 (pauthUid, pauthMechanism, pauthAuth, pauthLcsn, pauthPcsn, pauthLcb, pauthLct) VALUES( NEW.pauthUid, NEW.pauthMechanism, NEW.pauthAuth, NEW.pauthLcsn, NEW.pauthPcsn, NEW.pauthLcb, NEW.pauthLct) ; END Z ?æÝ]E y WZ‚ COALESCE((SELECT ContentEntryPicture_Existing.cepTimestamp FROM ContentEntryPicture ContentEntryPicture_Existing WHERE ContentEntryPicture_Existing.cepUid = NEW.cepUid), 0) ) BEGIN REPLACE INTO ContentEntryPicture (cepUid, cepContentEntryUid, cepUri, cepMd5, cepFileSize, cepTimestamp, cepMimeType, cepActive) VALUES( NEW.cepUid, NEW.cepContentEntryUid, NEW.cepUri, NEW.cepMd5, NEW.cepFileSize, NEW.cepTimestamp, NEW.cepMimeType, NEW.cepActive) ; END‚QGGƒ+viewCourseGroupMember_ReceiveViewCourseGroupMember_ReceiveViewCREATE VIEW CourseGroupMember_ReceiveView AS SELECT CourseGroupMember.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseGroupMember„|PQAˆqtrigger_dcoursegroupset_remote_insert_insCourseGroupSet_ReceiveViewCREATE TRIGGER _dcoursegroupset_remote_insert_ins INSTEAD OF INSERT ON CourseGroupSet_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cgsLct AS BIGINT) > COALESCE((SELECT CourseGroupSet_Existing.cgsLct FROM CourseGroupSet CourseGroupSet_Existing WHERE CourseGroupSet_Existing.cgsUid = NEW.cgsUid), 0) ) BEGIN REPLACE INTO CourseGroupSet (cgsUid, cgsName, cgsTotalGroups, cgsActive, cgsClazzUid, cgsLct) VALUES( NEW.cgsUid, NEW.cgsName, NEW.cgsTotalGroups, NEW.cgsActive, NEW.cgsClazzUid, NEW.cgsLct) ; END‚OAAƒviewCourseGroupSet_ReceiveViewCourseGroupSet_ReceiveViewCREATE VIEW CourseGroupSet_ReceiveView AS SELECT CourseGroupSet.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseGroupSet„UNWGˆtrigger_dcourseterminology_remote_insert_insCourseTerminology_ReceiveViewCREATE TRIGGER _dcourseterminology_remote_insert_ins INSTEAD OF INSERT ON CourseTerminology_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.ctLct AS BIGINT) > COALESCE((SELECT CourseTerminology_Existing.ctLct FROM CourseTerminology CourseTerminology_Existing WHERE CourseTerminology_Existing.ctUid = NEW.ctUid), 0) ) BEGIN REPLACE INTO CourseTerminology (ctUid, ctTitle, ctTerminology, ctLct) VALUES( NEW.ctUid, NEW.ctTitle, NEW.ctTerminology, NEW.ctLct) ; END‚MGGƒ+viewCourseTerminology_ReceiveViewCourseTerminology_ReceiveViewCREATE VIEW CourseTerminology_ReceiveView AS SELECT CourseTerminology.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseTerminology‚SKKƒ7viewContentEntryPicture_ReceiveViewContentEntryPicture_ReceiveViewCREATE VIEW ContentEntryPicture_ReceiveView AS SELECT ContentEntryPicture.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntryPicture…RWGˆstrigger_dcoursegroupmember_remote_insert_insCourseGroupMember_ReceiveViewCREATE TRIGGER _dcoursegroupmember_remote_insert_ins INSTEAD OF INSERT ON CourseGroupMember_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cgmLct AS BIGINT) > COALESCE((SELECT CourseGroupMember_Existing.cgmLct FROM CourseGroupMember CourseGroupMember_Existing WHERE CourseGroupMember_Existing.cgmUid = NEW.cgmUid), 0) ) BEGIN REPLACE INTO CourseGroupMember (cgmUid, cgmSetUid, cgmGroupNumber, cgmPersonUid, cgmLct) VALUES( NEW.cgmUid, NEW.cgmSetUid, NEW.cgmGroupNumber, NEW.cgmPersonUid, NEW.cgmLct) ; END  À „ €›’ :b[33‚oviewMessage_ReceiveViewMessage_ReceiveViewCREATE VIEW Message_ReceiveView AS SELECT Message.*, CAST(0 AS BIGINT) AS fromNodeId FROM MessageˆnZQAUtrigger_ddiscussionpost_remote_insert_insDiscussionPost_ReceiveViewCREATE TRIGGER _ddiscussionpost_remote_insert_ins INSTEAD OF INSERT ON DiscussionPost_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.discussionPostLct AS BIGINT) > COALESCE((SELECT DiscussionPost_Existing.discussionPostLct FROM DiscussionPost DiscussionPost_Existing WHERE DiscussionPost_Existing.discussionPostUid = NEW.discussionPostUid), 0) ) BEGIN REPLACE INTO DiscussionPost (discussionPostUid, discussionPostReplyToPostUid, discussionPostTitle, discussionPostMessage, discussionPostStartDate, discussionPostCourseBlockUid, dpDeleted, discussionPostStartedPersonUid, discussionPostClazzUid, discussionPostLct, discussionPostVisible, discussionPostArchive) VALUES( NEW.discussionPostUid, NEW.discussionPostReplyToPostUid, NEW.discussionPostTitle, NEW.discussionPostMessage, NEW.discussionPostStartDate, NEW.discussionPostCourseBlockUid, NEW.dpDeleted, NEW.discussionPostStartedPersonUid, NEW.discussionPostClazzUid, NEW.discussionPostLct, NEW.discussionPostVisible, NEW.discussionPostArchive) ; END‚YAAƒviewDiscussionPost_ReceiveViewDiscussionPost_ReceiveViewCREATE VIEW DiscussionPost_ReceiveView AS SELECT DiscussionPost.*, CAST(0 AS BIGINT) AS fromNodeId FROM DiscussionPost…aXO?Š?trigger_dcoursepicture_remote_insert_insCoursePicture_ReceiveViewCREATE TRIGGER _dcoursepicture_remote_insert_ins INSTEAD OF INSERT ON CoursePicture_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.coursePictureLct AS BIGINT) > COALESCE((SELECT CoursePicture_Existing.coursePictureLct FROM CoursePicture CoursePicture_Existing WHERE CoursePicture_Existing.coursePictureUid = NEW.coursePictureUid), 0) ) BEGIN REPLACE INTO CoursePicture (coursePictureUid, coursePictureLct, coursePictureUri, coursePictureThumbnailUri, coursePictureActive) VALUES( NEW.coursePictureUid, NEW.coursePictureLct, NEW.coursePictureUri, NEW.coursePictureThumbnailUri, NEW.coursePictureActive) ; END‚W??ƒviewCoursePicture_ReceiveViewCoursePicture_ReceiveViewCREATE VIEW CoursePicture_ReceiveView AS SELECT CoursePicture.*, CAST(0 AS BIGINT) AS fromNodeId FROM CoursePicture†8VgW‹=trigger_dactivityinteractionentity_remote_insert_insActivityInteractionEntity_ReceiveViewCREATE TRIGGER _dactivityinteractionentity_remote_insert_ins INSTEAD OF INSERT ON ActivityInteractionEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.aieLastMod AS BIGINT) > COALESCE((SELECT ActivityInteractionEntity_Existing.aieLastMod FROM ActivityInteractionEntity ActivityInteractionEntity_Existing WHERE ActivityInteractionEntity_Existing.aieActivityUid = NEW.aieActivityUid AND ActivityInteractionEntity_Existing.aieHash = NEW.aieHash), 0) ) BEGIN REPLACE INTO ActivityInteractionEntity (aieActivityUid, aieHash, aieProp, aieId, aieLastMod, aieIsDeleted) VALUES( NEW.aieActivityUid, NEW.aieHash, NEW.aieProp, NEW.aieId, NEW.aieLastMod, NEW.aieIsDeleted) ; END‚ COALESCE((SELECT StudentResult_Existing.srLastModified FROM StudentResult StudentResult_Existing WHERE StudentResult_Existing.srUid = NEW.srUid), 0) ) BEGIN REPLACE INTO StudentResult (srUid, srSourcedId, srCourseBlockUid, srLineItemSourcedId, srLineItemHref, srClazzUid, srAssignmentUid, srStatus, srMetaData, srStudentPersonUid, srStudentPersonSourcedId, srStudentGroupId, srMarkerPersonUid, srMarkerGroupId, srScoreStatus, srScore, srScoreDate, srLastModified, srComment, srAppId, srDeleted) VALUES( NEW.srUid, NEW.srSourcedId, NEW.srCourseBlockUid, NEW.srLineItemSourcedId, NEW.srLineItemHref, NEW.srClazzUid, NEW.srAssignmentUid, NEW.srStatus, NEW.srMetaData, NEW.srStudentPersonUid, NEW.srStudentPersonSourcedId, NEW.srStudentGroupId, NEW.srMarkerPersonUid, NEW.srMarkerGroupId, NEW.srScoreStatus, NEW.srScore, NEW.srScoreDate, NEW.srLastModified, NEW.srComment, NEW.srAppId, NEW.srDeleted) ; END‚]??ƒviewStudentResult_ReceiveViewStudentResult_ReceiveViewCREATE VIEW StudentResult_ReceiveView AS SELECT StudentResult.*, CAST(0 AS BIGINT) AS fromNodeId FROM StudentResult…\C3‰7trigger_dmessage_remote_insert_insMessage_ReceiveViewCREATE TRIGGER _dmessage_remote_insert_ins INSTEAD OF INSERT ON Message_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.messageLct AS BIGINT) > COALESCE((SELECT Message_Existing.messageLct FROM Message Message_Existing WHERE Message_Existing.messageUid = NEW.messageUid), 0) ) BEGIN REPLACE INTO Message (messageUid, messageSenderPersonUid, messageToPersonUid, messageText, messageTimestamp, messageLct) VALUES( NEW.messageUid, NEW.messageSenderPersonUid, NEW.messageToPersonUid, NEW.messageText, NEW.messageTimestamp, NEW.messageLct) ; END33‚oviewMessage_ReceiveViewMessage_ReceiveViewCREATE VIEW Message_ReceiveView AS SELECT Message.*, CAST(0 AS BIGINT) AS fromNodeId FROM MessageˆnZQAUtrigger_ddiscussionp†i`YKŒ9trigger_dcontent_entry_version_remote_ins_insContentEntryVersion_ReceiveViewCREATE TRIGGER _dcontent_entry_version_remote_ins_ins INSTEAD OF INSERT ON ContentEntryVersion_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cevLct AS BIGINT) > COALESCE((SELECT ContentEntryVersion_Existing.cevLct FROM ContentEntryVersion ContentEntryVersion_Existing WHERE ContentEntryVersion_Existing.cevUid = NEW.cevUid), 0) ) BEGIN REPLACE INTO ContentEntryVersion (cevUid, cevContentEntryUid, cevOpenUri, cevContentType, cevManifestUrl, cevSize, cevInActive, cevLastModified, cevLct, cevStorageSize, cevOriginalSize) VALUES( NEW.cevUid, NEW.cevContentEntryUid, NEW.cevOpenUri, NEW.cevContentType, NEW.cevManifestUrl, NEW.cevSize, NEW.cevInActive, NEW.cevLastModified, NEW.cevLct, NEW.cevStorageSize, NEW.cevOriginalSize) ; ENDb[33‚oviewMessage_ReceiveViewMessage_ReceiveViewCREATE VIEW Message_ReceiveView AS SELECT Message.*, CAST(0 AS BIGINT) AS fromNodeId FROM Message — š  !ª—‚fEEƒ%viewEnrolmentRequest_ReceiveViewEnrolmentRequest_ReceiveViewCREATE VIEW EnrolmentRequest_ReceiveView AS SELECT EnrolmentRequest.*, CAST(0 AS BIGINT) AS fromNodeId FROM EnrolmentRequest†seK;Œktrigger_ddeleteditem_remote_insert_insDeletedItem_ReceiveViewCREATE TRIGGER _ddeleteditem_remote_insert_ins INSTEAD OF INSERT ON DeletedItem_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.delItemLastModTime AS BIGINT) > COALESCE((SELECT DeletedItem_Existing.delItemLastModTime FROM DeletedItem DeletedItem_Existing WHERE DeletedItem_Existing.delItemUid = NEW.delItemUid), 0) ) BEGIN REPLACE INTO DeletedItem (delItemUid, delItemName, delItemIconUri, delItemLastModTime, delItemTimeDeleted, delItemEntityTable, delItemEntityUid, delItemDeletedByPersonUid, delItemStatus, delItemIsFolder) VALUES( NEW.delItemUid, NEW.delItemName, NEW.delItemIconUri, NEW.delItemLastModTime, NEW.delItemTimeDeleted, NEW.delItemEntityTable, NEW.delItemEntityUid, NEW.delItemDeletedByPersonUid, NEW.delItemStatus, NEW.delItemIsFolder) ; ENDvd;;ƒviewDeletedItem_ReceiveViewDeletedItem_ReceiveViewCREATE VIEW DeletedItem_ReceiveView AS SELECT DeletedItem.*, CAST(0 AS BIGINT) AS fromNodeId FROM DeletedItem…cG;‰ trigger_doffline_item_remote_ins_insOfflineItem_ReceiveViewCREATE TRIGGER _doffline_item_remote_ins_ins INSTEAD OF INSERT ON OfflineItem_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.oiLct AS BIGINT) > COALESCE((SELECT OfflineItem_Existing.oiLct FROM OfflineItem OfflineItem_Existing WHERE OfflineItem_Existing.oiUid = NEW.oiUid), 0) ) BEGIN REPLACE INTO OfflineItem (oiUid, oiNodeId, oiClazzUid, oiCourseBlockUid, oiContentEntryUid, oiActive, oiLct) VALUES( NEW.oiUid, NEW.oiNodeId, NEW.oiClazzUid, NEW.oiCourseBlockUid, NEW.oiContentEntryUid, NEW.oiActive, NEW.oiLct) ; ENDvb;;ƒviewOfflineItem_ReceiveViewOfflineItem_ReceiveViewCREATE VIEW OfflineItem_ReceiveView AS SELECT OfflineItem.*, CAST(0 AS BIGINT) AS fromNodeId FROM OfflineItemŠba]3”?trigger_dcontent_entry_version_offline_item_insContentEntryVersionCREATE TRIGGER _dcontent_entry_version_offline_item_ins AFTER INSERT ON ContentEntryVersion FOR EACH ROW WHEN ( SELECT EXISTS( SELECT OfflineItem.oiUid FROM OfflineItem WHERE OfflineItem.oiContentEntryUid = NEW.cevContentEntryUid AND CAST(OfflineItem.oiActive AS INTEGER) = 1 AND OfflineItem.oiNodeId = (SELECT COALESCE( (SELECT nodeClientId FROM SyncNode LIMIT 1), 0)) ) AND NOT EXISTS (SELECT TransferJob.tjUid FROM TransferJob WHERE TransferJob.tjTableId = 738 AND TransferJob.tjEntityUid = NEW.cevUid) ) BEGIN INSERT INTO OfflineItemPendingTransferJob(oiptjOiUid, oiptjTableId, oiptjEntityUid, oiptjType) VALUES ((SELECT COALESCE(( SELECT OfflineItem.oiUid FROM OfflineItem WHERE OfflineItem.oiContentEntryUid = NEW.cevContentEntryUid AND CAST(OfflineItem.oiActive AS INTEGER) = 1 AND OfflineItem.oiNodeId = (SELECT COALESCE( (SELECT nodeClientId FROM SyncNode LIMIT 1), 0)) ), 0)), 738, NEW.cevUid, 2) ; END Ÿ . ü6Ÿ–n„vmYIˆUtrigger_dcourseblockpicture_remote_insert_insCourseBlockPicture_ReceiveViewCREATE TRIGGER _dcourseblockpicture_remote_insert_ins INSTEAD OF INSERT ON CourseBlockPicture_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cbpLct AS BIGINT) > COALESCE((SELECT CourseBlockPicture_Existing.cbpLct FROM CourseBlockPicture CourseBlockPicture_Existing WHERE CourseBlockPicture_Existing.cbpUid = NEW.cbpUid), 0) ) BEGIN REPLACE INTO CourseBlockPicture (cbpUid, cbpLct, cbpPictureUri, cbpThumbnailUri) VALUES( NEW.cbpUid, NEW.cbpLct, NEW.cbpPictureUri, NEW.cbpThumbnailUri) ; END‚lIIƒ1viewCourseBlockPicture_ReceiveViewCourseBlockPicture_ReceiveViewCREATE VIEW CourseBlockPicture_ReceiveView AS SELECT CourseBlockPicture.*, CAST(0 AS BIGINT) AS fromNodeId FROM CourseBlockPicture…BkUE‰utrigger_dsystempermission_remote_insert_insSystemPermission_ReceiveViewCREATE TRIGGER _dsystempermission_remote_insert_ins INSTEAD OF INSERT ON SystemPermission_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.spLastModified AS BIGINT) > COALESCE((SELECT SystemPermission_Existing.spLastModified FROM SystemPermission SystemPermission_Existing WHERE SystemPermission_Existing.spUid = NEW.spUid), 0) ) BEGIN REPLACE INTO SystemPermission (spUid, spToPersonUid, spToGroupUid, spPermissionsFlag, spLastModified, spIsDeleted) VALUES( NEW.spUid, NEW.spToPersonUid, NEW.spToGroupUid, NEW.spPermissionsFlag, NEW.spLastModified, NEW.spIsDeleted) ; END‚jEEƒ%viewSystemPermission_ReceiveViewSystemPermission_ReceiveViewCREATE VIEW SystemPermission_ReceiveView AS SELECT SystemPermission.*, CAST(0 AS BIGINT) AS fromNodeId FROM SystemPermission†iUE‹trigger_dcoursepermission_remote_insert_insCoursePermission_ReceiveViewCREATE TRIGGER _dcoursepermission_remote_insert_ins INSTEAD OF INSERT ON CoursePermission_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cpLastModified AS BIGINT) > COALESCE((SELECT CoursePermission_Existing.cpLastModified FROM CoursePermission CoursePermission_Existing WHERE CoursePermission_Existing.cpUid = NEW.cpUid), 0) ) BEGIN REPLACE INTO CoursePermission (cpUid, cpLastModified, cpClazzUid, cpToEnrolmentRole, cpToPersonUid, cpToGroupUid, cpPermissionsFlag, cpIsDeleted) VALUES( NEW.cpUid, NEW.cpLastModified, NEW.cpClazzUid, NEW.cpToEnrolmentRole, NEW.cpToPersonUid, NEW.cpToGroupUid, NEW.cpPermissionsFlag, NEW.cpIsDeleted) ; END‚hEEƒ%viewCoursePermission_ReceiveViewCoursePermission_ReceiveViewCREATE VIEW CoursePermission_ReceiveView AS SELECT CoursePermission.*, CAST(0 AS BIGINT) AS fromNodeId FROM CoursePermission‡NgUEŽ trigger_denrolmentrequest_remote_insert_insEnrolmentRequest_ReceiveViewCREATE TRIGGER _denrolmentrequest_remote_insert_ins INSTEAD OF INSERT ON EnrolmentRequest_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.erLastModified AS BIGINT) > COALESCE((SELECT EnrolmentRequest_Existing.erLastModified FROM EnrolmentRequest EnrolmentRequest_Existing WHERE EnrolmentRequest_Existing.erUid = NEW.erUid), 0) ) BEGIN REPLACE INTO EnrolmentRequest (erUid, erClazzUid, erClazzName, erPersonUid, erPersonFullname, erPersonPictureUri, erPersonUsername, erRole, erRequestTime, erStatus, erStatusSetByPersonUid, erDeleted, erStatusSetAuth, erLastModified) VALUES( NEW.erUid, NEW.erClazzUid, NEW.erClazzName, NEW.erPersonUid, NEW.erPersonFullname, NEW.erPersonPictureUri, NEW.erPersonUsername, NEW.erRole, NEW.erRequestTime, NEW.erStatus, NEW.erStatusSetByPersonUid, NEW.erDeleted, NEW.erStatusSetAuth, NEW.erLastModified) ; END £¶|ðÝݶ  Û‚#rMMƒ=viewGroupMemberActorJoin_ReceiveViewGroupMemberActorJoin_ReceiveViewCREATE VIEW GroupMemberActorJoin_ReceiveView AS SELECT GroupMemberActorJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM GroupMemberActorJoin…|qUEŠitrigger_dverblangmapentry_remote_insert_insVerbLangMapEntry_ReceiveViewCREATE TRIGGER _dverblangmapentry_remote_insert_ins INSTEAD OF INSERT ON VerbLangMapEntry_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.vlmeLastModified AS BIGINT) > COALESCE((SELECT VerbLangMapEntry_Existing.vlmeLastModified FROM VerbLangMapEntry VerbLangMapEntry_Existing WHERE VerbLangMapEntry_Existing.vlmeVerbUid = NEW.vlmeVerbUid AND VerbLangMapEntry_Existing.vlmeLangHash = NEW.vlmeLangHash), 0) ) BEGIN REPLACE INTO VerbLangMapEntry (vlmeVerbUid, vlmeLangHash, vlmeLangCode, vlmeEntryString, vlmeLastModified) VALUES( NEW.vlmeVerbUid, NEW.vlmeLangHash, NEW.vlmeLangCode, NEW.vlmeEntryString, NEW.vlmeLastModified) ; END‚pEEƒ%viewVerbLangMapEntry_ReceiveViewVerbLangMapEntry_ReceiveViewCREATE VIEW VerbLangMapEntry_ReceiveView AS SELECT VerbLangMapEntry.*, CAST(0 AS BIGINT) AS fromNodeId FROM VerbLangMapEntry…o]Mˆqtrigger_dcontententrypicture2_remote_insert_insContentEntryPicture2_ReceiveViewCREATE TRIGGER _dcontententrypicture2_remote_insert_ins INSTEAD OF INSERT ON ContentEntryPicture2_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cepLct AS BIGINT) > COALESCE((SELECT ContentEntryPicture2_Existing.cepLct FROM ContentEntryPicture2 ContentEntryPicture2_Existing WHERE ContentEntryPicture2_Existing.cepUid = NEW.cepUid), 0) ) BEGIN REPLACE INTO ContentEntryPicture2 (cepUid, cepLct, cepPictureUri, cepThumbnailUri) VALUES( NEW.cepUid, NEW.cepLct, NEW.cepPictureUri, NEW.cepThumbnailUri) ; END‚#nMMƒ=viewContentEntryPicture2_ReceiveViewContentEntryPicture2_ReceiveViewCREATE VIEW ContentEntryPicture2_ReceiveView AS SELECT ContentEntryPicture2.*, CAST(0 AS BIGINT) AS fromNodeId FROM ContentEntryPicture28YIˆUtrigger_dcourseblockpicture_remote_insert_insCourseBlockPicture_ReceiveViewCREATE TRIGGER _dcourseblockpicture_remote_insert_ins INSTEAD OF INSERT ON CourseBlockPicture_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.cbpLct AS BIGINT) > COALESCE((SELECT CourseBlockPicture_Existing.cbpLct FROM CourseBlockPicture CourseBlockPicture_Existing WHERE CourseBlockPicture_Existing.cbpUid = NEW.cbpUid), 0) ) BEGIN REPLACE INTO CourseBlockPicture (cbpUid, cbpLct, cbpPictureUri, cbpThumbnailUri) VALUES( NEW‚#tMMƒ=viewActivityLangMapEntry_ReceiveViewActivityLangMapEntry_ReceiveViewCREATE VIEW ActivityLangMapEntry_ReceiveView AS SELECT ActivityLangMapEntry.*, CAST(0 AS BIGINT) AS fromNodeId FROM ActivityLangMapEntry…zs]MŠUtrigger_dgroupmemberactorjoin_remote_insert_insGroupMemberActorJoin_ReceiveViewCREATE TRIGGER _dgroupmemberactorjoin_remote_insert_ins INSTEAD OF INSERT ON GroupMemberActorJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.gmajLastMod AS BIGINT) > COALESCE((SELECT GroupMemberActorJoin_Existing.gmajLastMod FROM GroupMemberActorJoin GroupMemberActorJoin_Existing WHERE GroupMemberActorJoin_Existing.gmajGroupActorUid = NEW.gmajGroupActorUid AND GroupMemberActorJoin_Existing.gmajMemberActorUid = NEW.gmajMemberActorUid), 0) ) BEGIN REPLACE INTO GroupMemberActorJoin (gmajGroupActorUid, gmajMemberActorUid, gmajLastMod) VALUES( NEW.gmajGroupActorUid, NEW.gmajMemberActorUid, NEW.gmajLastMod) ; END ® º „Nÿ®–‚zGGƒ+viewXapiSessionEntity_ReceiveViewXapiSessionEntity_ReceiveViewCREATE VIEW XapiSessionEntity_ReceiveView AS SELECT XapiSessionEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM XapiSessionEntityˆMyk]]trigger_dstatementcontextactivityjoin_remoteinsert_insStatementContextActivityJoin_ReceiveViewCREATE TRIGGER _dstatementcontextactivityjoin_remoteinsert_ins INSTEAD OF INSERT ON StatementContextActivityJoin_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.scajEtag AS BIGINT) != COALESCE((SELECT StatementContextActivityJoin_Existing.scajEtag FROM StatementContextActivityJoin StatementContextActivityJoin_Existing WHERE StatementContextActivityJoin_Existing.scajFromStatementIdHi = NEW.scajFromStatementIdHi AND StatementContextActivityJoin_Existing.scajFromStatementIdLo = NEW.scajFromStatementIdLo AND StatementContextActivityJoin_Existing.scajToHash = NEW.scajToHash), 0) ) BEGIN REPLACE INTO StatementContextActivityJoin (scajFromStatementIdHi, scajFromStatementIdLo, scajToHash, scajContextType, scajToActivityUid, scajToActivityId, scajEtag) VALUES( NEW.scajFromStatementIdHi, NEW.scajFromStatementIdLo, NEW.scajToHash, NEW.scajContextType, NEW.scajToActivityUid, NEW.scajToActivityId, NEW.scajEtag) ; END‚Kx]]ƒmviewStatementContextActivityJoin_ReceiveViewStatementContextActivityJoin_ReceiveViewCREATE VIEW StatementContextActivityJoin_ReceiveView AS SELECT StatementContextActivityJoin.*, CAST(0 AS BIGINT) AS fromNodeId FROM StatementContextActivityJoin†2wcS‹9trigger_dactivityextensionentity_remote_insert_insActivityExtensionEntity_ReceiveViewCREATE TRIGGER _dactivityextensionentity_remote_insert_ins INSTEAD OF INSERT ON ActivityExtensionEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.aeeLastMod AS BIGINT) > COALESCE((SELECT ActivityExtensionEntity_Existing.aeeLastMod FROM ActivityExtensionEntity ActivityExtensionEntity_Existing WHERE ActivityExtensionEntity_Existing.aeeActivityUid = NEW.aeeActivityUid AND ActivityExtensionEntity_Existing.aeeKeyHash = NEW.aeeKeyHash), 0) ) BEGIN REPLACE INTO ActivityExtensionEntity (aeeActivityUid, aeeKeyHash, aeeKey, aeeJson, aeeLastMod, aeeIsDeleted) VALUES( NEW.aeeActivityUid, NEW.aeeKeyHash, NEW.aeeKey, NEW.aeeJson, NEW.aeeLastMod, NEW.aeeIsDeleted) ; END‚2vSSƒOviewActivityExtensionEntity_ReceiveViewActivityExtensionEntity_ReceiveViewCREATE VIEW ActivityExtensionEntity_ReceiveView AS SELECT ActivityExtensionEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM ActivityExtensionEntity†Bu]M‹etrigger_dactivitylangmapentry_remote_insert_insActivityLangMapEntry_ReceiveViewCREATE TRIGGER _dactivitylangmapentry_remote_insert_ins INSTEAD OF INSERT ON ActivityLangMapEntry_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.almeLastMod AS BIGINT) > COALESCE((SELECT ActivityLangMapEntry_Existing.almeLastMod FROM ActivityLangMapEntry ActivityLangMapEntry_Existing WHERE ActivityLangMapEntry_Existing.almeActivityUid = NEW.almeActivityUid AND ActivityLangMapEntry_Existing.almeHash = NEW.almeHash), 0) ) BEGIN REPLACE INTO ActivityLangMapEntry (almeActivityUid, almeHash, almeLangCode, almePropName, almeValue, almeAieHash, almeLastMod) VALUES( NEW.almeActivityUid, NEW.almeHash, NEW.almeLangCode, NEW.almePropName, NEW.almeValue, NEW.almeAieHash, NEW.almeLastMod) ; END è '  R5‚‚IIƒ1viewStateDeleteCommand_ReceiveViewStateDeleteCommand_ReceiveViewCREATE VIEW StateDeleteCommand_ReceiveView AS SELECT StateDeleteCommand.*, CAST(0 AS BIGINT) AS fromNodeId FROM StateDeleteCommand‡<K;}trigger_dstateentity_remote_insert_insStateEntity_ReceiveViewCREATE TRIGGER _dstateentity_remote_insert_ins INSTEAD OF INSERT ON StateEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.seLastMod AS BIGINT) > COALESCE((SELECT StateEntity_Existing.seLastMod FROM StateEntity StateEntity_Existing WHERE StateEntity_Existing.seActorUid = NEW.seActorUid AND StateEntity_Existing.seHash = NEW.seHash), 0) ) BEGIN REPLACE INTO StateEntity (seActorUid, seHash, seActivityUid, seStateId, seLastMod, seTimeStored, seContentType, seCompressed, seContent, seDeleted, seRegistrationHi, seRegistrationLo, seH5PPreloaded, seH5PSubContentId) VALUES( NEW.seActorUid, NEW.seHash, NEW.seActivityUid, NEW.seStateId, NEW.seLastMod, NEW.seTimeStored, NEW.seContentType, NEW.seCompressed, NEW.seContent, NEW.seDeleted, NEW.seRegistrationHi, NEW.seRegistrationLo, NEW.seH5PPreloaded, NEW.seH5PSubContentId) ; ENDv~;;ƒviewStateEntity_ReceiveViewStateEntity_ReceiveViewCREATE VIEW StateEntity_ReceiveView AS SELECT StateEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM StateEntity…u}ŠOtrigger_dstatemententityjson_remote_insert_insStatementEntityJson_ReceiveViewCREATE TRIGGER _dstatemententityjson_remote_insert_ins INSTEAD OF INSERT ON StatementEntityJson_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.stmtEtag AS BIGINT) != COALESCE((SELECT StatementEntityJson_Existing.stmtEtag FROM StatementEntityJson StatementEntityJson_Existing WHERE StatementEntityJson_Existing.stmtJsonIdHi = NEW.stmtJsonIdHi AND StatementEntityJson_Existing.stmtJsonIdLo = NEW.stmtJsonIdLo), 0) ) BEGIN REPLACE INTO StatementEntityJson (stmtJsonIdHi, stmtJsonIdLo, stmtEtag, fullStatement) VALUES( NEW.stmtJsonIdHi, NEW.stmtJsonIdLo, NEW.stmtEtag, NEW.fullStatement) ; END‚|KKƒ7viewStatementEntityJson_ReceiveViewStatementEntityJson_ReceiveViewCREATE VIEW StatementEntityJson_ReceiveView AS SELECT StatementEntityJson.*, CAST(0 AS BIGINT) AS fromNodeId FROM StatementEntityJson‰={WG‘gtrigger_dxapisessionentity_remote_insert_insXapiSessionEntity_ReceiveViewCREATE TRIGGER _dxapisessionentity_remote_insert_ins INSTEAD OF INSERT ON XapiSessionEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.xseLastMod AS BIGINT) > COALESCE((SELECT XapiSessionEntity_Existing.xseLastMod FROM XapiSessionEntity XapiSessionEntity_Existing WHERE XapiSessionEntity_Existing.xseUid = NEW.xseUid), 0) ) BEGIN REPLACE INTO XapiSessionEntity (xseUid, xseLastMod, xseRegistrationHi, xseRegistrationLo, xseUsUid, xseAccountPersonUid, xseActorUid, xseAccountUsername, xseClazzUid, xseCbUid, xseContentEntryUid, xseContentEntryVersionUid, xseRootActivityId, xseRootActivityUid, xseStartTime, xseExpireTime, xseAuth, xseCompleted, knownActorUidToPersonUids) VALUES( NEW.xseUid, NEW.xseLastMod, NEW.xseRegistrationHi, NEW.xseRegistrationLo, NEW.xseUsUid, NEW.xseAccountPersonUid, NEW.xseActorUid, NEW.xseAccountUsername, NEW.xseClazzUid, NEW.xseCbUid, NEW.xseContentEntryUid, NEW.xseContentEntryVersionUid, NEW.xseRootActivityId, NEW.xseRootActivityUid, NEW.xseStartTime, NEW.xseExpireTime, NEW.xseAuth, NEW.xseCompleted, NEW.knownActorUidToPersonUids) ; END‚zGGƒ+viewXapiSessionEntity_ReceiveViewXapiSessionEntity_ReceiveViewCREATE VIEW XapiSessionEntity_ReceiveView AS SELECT XapiSessionEntity.*, CAST(0 AS BIGINT) AS fromNodeId FROM XapiSessionEntity í @ #í†2‚YI‹Mtrigger_dstatedeletecommand_remote_insert_insStateDeleteCommand_ReceiveViewCREATE TRIGGER _dstatedeletecommand_remote_insert_ins INSTEAD OF INSERT ON StateDeleteCommand_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.sdcLastMod AS BIGINT) > COALESCE((SELECT StateDeleteCommand_Existing.sdcLastMod FROM StateDeleteCommand StateDeleteCommand_Existing WHERE StateDeleteCommand_Existing.sdcActorUid = NEW.sdcActorUid AND StateDeleteCommand_Existing.sdcHash = NEW.sdcHash), 0) ) BEGIN REPLACE INTO StateDeleteCommand (sdcActorUid, sdcHash, sdcActivityUid, sdcStateId, sdcLastMod, sdcRegistrationHi, sdcRegistrationLo) VALUES( NEW.sdcActorUid, NEW.sdcHash, NEW.sdcActivityUid, NEW.sdcStateId, NEW.sdcLastMod, NEW.sdcRegistrationHi, NEW.sdcRegistrationLo) ; END‚‚IIƒ1viewStateDeleteCommand_ReceiveViewStateDeleteCommand_ReceiveViewCREATE VIEW StateDeleteCommand_ReceiveView AS SELECT StateDeleteCommand.*, CAST(0 AS BIGINT) AS fromNodeId FROM StateDeleteCommand‡<K;}trigger_dstateentity_remote_insert_insStateEntity_ReceiveViewCREATE TRIGGER _dstateentity_remote_insert_ins INSTEAD OF INSERT ON StateEntity_ReceiveView FOR EACH ROW WHEN (SELECT CAST(NEW.seLastMod AS BIGINT) > COALESCE((SELECT StateEntity_Existing.seLastMod FROM StateEntity StateEntity_Existing WHERE StateEntity_Existing.seActorUid = NEW.seActorUid AND StateEntity_Existing.seHash = NEW.seHash), 0) ) BEGIN REPLACE INTO StateEntity (seActorUid, seHash, seActivityUid, seStateId, seLastMod, seTimeStored, seContentType, seCompressed, seContent, seDeleted, seRegistrationHi, seRegistrationLo, seH5PPreloaded, seH5PSubContentId) VALUES( NEW.seActorUid, NEW.seHash, NEW.seActivityUid, NEW.seStateId, NEW.seLastMod, NEW.seTimeStored, NEW.seContentType, NEW.seCompressed, NEW.seContent, NEW.seDeleted, NEW.seRegistrationHi, NEW.seRegistrationLo, NEW.seH5PPreloaded, NEW.seH5PSubContentId) ; END