From 8cc509859d7231c206bd1fc89b5d97a9c420b511 Mon Sep 17 00:00:00 2001
From: Jiadong Bai <43344272+bobbai00@users.noreply.github.com>
Date: Tue, 17 Dec 2024 00:04:21 -0800
Subject: [PATCH] Remove redundant jooq codes and their usages in `core/amber`
(#3164)
As titled, this PR removes the redundant jooq codes in package
`edu.uci.ics.texera.web.model.jooq.generated` in `core/amber`. All the
imports related to them are now pointing to
`edu.uci.ics.texera.dao.jooq.generated` in `core/dao`.
---
.../ics/texera/web/ComputingUnitMaster.scala | 2 +-
.../texera/web/ServletAwareConfigurator.scala | 2 +-
.../ics/texera/web/auth/GuestAuthFilter.scala | 4 +-
.../edu/uci/ics/texera/web/auth/JwtAuth.scala | 2 +-
.../uci/ics/texera/web/auth/SessionUser.scala | 4 +-
.../texera/web/auth/UserAuthenticator.scala | 4 +-
.../texera/web/auth/UserRoleAuthorizer.scala | 2 +-
.../model/jooq/generated/DefaultCatalog.java | 51 --
.../web/model/jooq/generated/Indexes.java | 108 ----
.../texera/web/model/jooq/generated/Keys.java | 156 ------
.../web/model/jooq/generated/Tables.java | 110 ----
.../web/model/jooq/generated/TexeraDb.java | 167 ------
.../enums/DatasetUserAccessPrivilege.java | 49 --
.../enums/ProjectUserAccessPrivilege.java | 49 --
.../model/jooq/generated/enums/UserRole.java | 51 --
.../enums/WorkflowUserAccessPrivilege.java | 49 --
.../model/jooq/generated/tables/Dataset.java | 173 ------
.../generated/tables/DatasetUserAccess.java | 157 ------
.../jooq/generated/tables/DatasetVersion.java | 173 ------
.../model/jooq/generated/tables/Project.java | 173 ------
.../generated/tables/ProjectUserAccess.java | 157 ------
.../jooq/generated/tables/PublicProject.java | 147 -----
.../web/model/jooq/generated/tables/User.java | 169 ------
.../jooq/generated/tables/UserConfig.java | 152 -----
.../model/jooq/generated/tables/Workflow.java | 169 ------
.../generated/tables/WorkflowExecutions.java | 202 -------
.../generated/tables/WorkflowOfProject.java | 151 -----
.../jooq/generated/tables/WorkflowOfUser.java | 151 -----
.../tables/WorkflowRuntimeStatistics.java | 198 -------
.../generated/tables/WorkflowUserAccess.java | 157 ------
.../tables/WorkflowUserActivity.java | 135 -----
.../generated/tables/WorkflowUserClones.java | 151 -----
.../generated/tables/WorkflowUserLikes.java | 151 -----
.../generated/tables/WorkflowVersion.java | 163 ------
.../generated/tables/WorkflowViewCount.java | 147 -----
.../generated/tables/daos/DatasetDao.java | 132 -----
.../tables/daos/DatasetUserAccessDao.java | 84 ---
.../tables/daos/DatasetVersionDao.java | 132 -----
.../generated/tables/daos/ProjectDao.java | 132 -----
.../tables/daos/ProjectUserAccessDao.java | 84 ---
.../tables/daos/PublicProjectDao.java | 75 ---
.../generated/tables/daos/UserConfigDao.java | 83 ---
.../jooq/generated/tables/daos/UserDao.java | 160 ------
.../generated/tables/daos/WorkflowDao.java | 146 -----
.../tables/daos/WorkflowExecutionsDao.java | 202 -------
.../tables/daos/WorkflowOfProjectDao.java | 69 ---
.../tables/daos/WorkflowOfUserDao.java | 69 ---
.../daos/WorkflowRuntimeStatisticsDao.java | 197 -------
.../tables/daos/WorkflowUserAccessDao.java | 84 ---
.../tables/daos/WorkflowUserClonesDao.java | 69 ---
.../tables/daos/WorkflowUserLikesDao.java | 69 ---
.../tables/daos/WorkflowVersionDao.java | 104 ----
.../tables/daos/WorkflowViewCountDao.java | 75 ---
.../generated/tables/interfaces/IDataset.java | 92 ---
.../tables/interfaces/IDatasetUserAccess.java | 62 --
.../tables/interfaces/IDatasetVersion.java | 92 ---
.../generated/tables/interfaces/IProject.java | 92 ---
.../tables/interfaces/IProjectUserAccess.java | 62 --
.../tables/interfaces/IPublicProject.java | 51 --
.../generated/tables/interfaces/IUser.java | 102 ----
.../tables/interfaces/IUserConfig.java | 61 --
.../tables/interfaces/IWorkflow.java | 102 ----
.../interfaces/IWorkflowExecutions.java | 142 -----
.../tables/interfaces/IWorkflowOfProject.java | 51 --
.../tables/interfaces/IWorkflowOfUser.java | 51 --
.../IWorkflowRuntimeStatistics.java | 143 -----
.../interfaces/IWorkflowUserAccess.java | 62 --
.../interfaces/IWorkflowUserActivity.java | 82 ---
.../interfaces/IWorkflowUserClones.java | 51 --
.../tables/interfaces/IWorkflowUserLikes.java | 51 --
.../tables/interfaces/IWorkflowVersion.java | 72 ---
.../tables/interfaces/IWorkflowViewCount.java | 51 --
.../jooq/generated/tables/pojos/Dataset.java | 150 -----
.../tables/pojos/DatasetUserAccess.java | 101 ----
.../tables/pojos/DatasetVersion.java | 150 -----
.../jooq/generated/tables/pojos/Project.java | 150 -----
.../tables/pojos/ProjectUserAccess.java | 101 ----
.../generated/tables/pojos/PublicProject.java | 84 ---
.../jooq/generated/tables/pojos/User.java | 165 ------
.../generated/tables/pojos/UserConfig.java | 100 ----
.../jooq/generated/tables/pojos/Workflow.java | 166 ------
.../tables/pojos/WorkflowExecutions.java | 230 --------
.../tables/pojos/WorkflowOfProject.java | 84 ---
.../tables/pojos/WorkflowOfUser.java | 84 ---
.../pojos/WorkflowRuntimeStatistics.java | 231 --------
.../tables/pojos/WorkflowUserAccess.java | 101 ----
.../tables/pojos/WorkflowUserActivity.java | 134 -----
.../tables/pojos/WorkflowUserClones.java | 84 ---
.../tables/pojos/WorkflowUserLikes.java | 84 ---
.../tables/pojos/WorkflowVersion.java | 118 ----
.../tables/pojos/WorkflowViewCount.java | 84 ---
.../tables/records/DatasetRecord.java | 327 -----------
.../records/DatasetUserAccessRecord.java | 206 -------
.../tables/records/DatasetVersionRecord.java | 327 -----------
.../tables/records/ProjectRecord.java | 327 -----------
.../records/ProjectUserAccessRecord.java | 206 -------
.../tables/records/PublicProjectRecord.java | 165 ------
.../tables/records/UserConfigRecord.java | 205 -------
.../generated/tables/records/UserRecord.java | 366 ------------
.../records/WorkflowExecutionsRecord.java | 527 -----------------
.../records/WorkflowOfProjectRecord.java | 164 ------
.../tables/records/WorkflowOfUserRecord.java | 164 ------
.../tables/records/WorkflowRecord.java | 367 ------------
.../WorkflowRuntimeStatisticsRecord.java | 528 ------------------
.../records/WorkflowUserAccessRecord.java | 206 -------
.../records/WorkflowUserActivityRecord.java | 277 ---------
.../records/WorkflowUserClonesRecord.java | 164 ------
.../records/WorkflowUserLikesRecord.java | 164 ------
.../tables/records/WorkflowVersionRecord.java | 247 --------
.../records/WorkflowViewCountRecord.java | 165 ------
.../web/resource/CollaborationResource.scala | 2 +-
.../web/resource/UserConfigResource.scala | 6 +-
.../resource/WorkflowWebsocketResource.scala | 2 +-
.../web/resource/auth/AuthResource.scala | 8 +-
.../resource/auth/GoogleAuthResource.scala | 6 +-
.../dashboard/DashboardResource.scala | 4 +-
.../dashboard/DatasetSearchQueryBuilder.scala | 8 +-
.../dashboard/ProjectSearchQueryBuilder.scala | 4 +-
.../dashboard/UnifiedResourceSchema.scala | 2 +-
.../WorkflowSearchQueryBuilder.scala | 4 +-
.../execution/AdminExecutionResource.scala | 2 +-
.../admin/user/AdminUserResource.scala | 6 +-
.../hub/workflow/HubWorkflowResource.scala | 6 +-
.../user/dataset/DatasetAccessResource.scala | 16 +-
.../user/dataset/DatasetResource.scala | 14 +-
.../utils/DatasetStatisticsUtils.scala | 2 +-
.../user/project/ProjectAccessResource.scala | 12 +-
.../user/project/ProjectResource.scala | 8 +-
.../user/project/PublicProjectResource.scala | 11 +-
.../user/quota/UserQuotaResource.scala | 2 +-
.../workflow/WorkflowAccessResource.scala | 8 +-
.../workflow/WorkflowExecutionsResource.scala | 6 +-
.../user/workflow/WorkflowResource.scala | 8 +-
.../workflow/WorkflowVersionResource.scala | 6 +-
.../web/service/ExecutionStatsService.scala | 2 +-
.../ExecutionsMetadataPersistService.scala | 4 +-
.../web/service/ResultExportService.scala | 2 +-
.../texera/web/service/WorkflowService.scala | 2 +-
.../dashboard/file/WorkflowResourceSpec.scala | 8 +-
139 files changed, 90 insertions(+), 14908 deletions(-)
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Workflow.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowExecutions.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfUser.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowRuntimeStatistics.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserActivity.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserClones.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserLikes.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowViewCount.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetUserAccessDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetVersionDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectUserAccessDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/PublicProjectDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserConfigDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowExecutionsDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfProjectDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfUserDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowRuntimeStatisticsDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserAccessDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserClonesDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserLikesDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowVersionDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowViewCountDao.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDataset.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProjectUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IPublicProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUser.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUserConfig.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflow.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowExecutions.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfUser.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowRuntimeStatistics.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserActivity.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserClones.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserLikes.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowViewCount.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Dataset.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Project.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/ProjectUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/PublicProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/User.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/UserConfig.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Workflow.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowExecutions.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfProject.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfUser.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowRuntimeStatistics.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserAccess.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserActivity.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserClones.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserLikes.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowVersion.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowViewCount.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetUserAccessRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetVersionRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectUserAccessRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/PublicProjectRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserConfigRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowExecutionsRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfProjectRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfUserRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRuntimeStatisticsRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserAccessRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserActivityRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserClonesRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserLikesRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowVersionRecord.java
delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowViewCountRecord.java
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala
index 27bd59ddf8d..eba2c81df24 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala
@@ -17,7 +17,7 @@ import edu.uci.ics.amber.engine.common.storage.SequentialRecordStorage
import edu.uci.ics.amber.engine.common.{AmberConfig, AmberRuntime, Utils}
import edu.uci.ics.amber.virtualidentity.ExecutionIdentity
import edu.uci.ics.texera.web.auth.JwtAuth.setupJwtAuth
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions
import edu.uci.ics.texera.web.resource.WorkflowWebsocketResource
import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowExecutionsResource
import edu.uci.ics.texera.web.service.ExecutionsMetadataPersistService
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala
index 28c89fa123c..ce0e65913bc 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala
@@ -2,7 +2,7 @@ package edu.uci.ics.texera.web
import com.typesafe.scalalogging.LazyLogging
import edu.uci.ics.texera.web.auth.JwtAuth.jwtConsumer
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User
import org.apache.http.client.utils.URLEncodedUtils
import org.jooq.types.UInteger
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala
index 474406bf9fe..318a12c8f2d 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala
@@ -1,8 +1,8 @@
package edu.uci.ics.texera.web.auth
import edu.uci.ics.texera.web.auth.GuestAuthFilter.GUEST
-import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User
+import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User
import io.dropwizard.auth.AuthFilter
import java.io.IOException
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala
index 0cd5c5978a8..de67708c794 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala
@@ -3,7 +3,7 @@ package edu.uci.ics.texera.web.auth
import com.github.toastshaman.dropwizard.auth.jwt.JwtAuthFilter
import com.typesafe.config.Config
import edu.uci.ics.amber.engine.common.AmberConfig
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User
import io.dropwizard.auth.AuthDynamicFeature
import io.dropwizard.setup.Environment
import org.jose4j.jws.AlgorithmIdentifiers.HMAC_SHA256
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala
index 62445306b8c..baee51b24fb 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala
@@ -1,7 +1,7 @@
package edu.uci.ics.texera.web.auth
-import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User
+import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User
import org.jooq.types.UInteger
import java.security.Principal
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala
index 883edac54da..2a4947dc2ce 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala
@@ -1,8 +1,8 @@
package edu.uci.ics.texera.web.auth
import com.typesafe.scalalogging.LazyLogging
-import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole
-import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User
+import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole
+import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User
import io.dropwizard.auth.Authenticator
import org.jooq.types.UInteger
import org.jose4j.jwt.consumer.JwtContext
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala
index bd2583bcb1c..67ceade63ab 100644
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala
+++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala
@@ -1,6 +1,6 @@
package edu.uci.ics.texera.web.auth
-import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole
+import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole
import io.dropwizard.auth.Authorizer
object UserRoleAuthorizer extends Authorizer[SessionUser] {
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java
deleted file mode 100644
index 4d86516a86d..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated;
-
-
-import org.jooq.Schema;
-import org.jooq.impl.CatalogImpl;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class DefaultCatalog extends CatalogImpl {
-
- private static final long serialVersionUID = -625238328;
-
- /**
- * The reference instance of
- */
- public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
-
- /**
- * The schema texera_db
.
- */
- public final TexeraDb TEXERA_DB = edu.uci.ics.texera.web.model.jooq.generated.TexeraDb.TEXERA_DB;
-
- /**
- * No further instances allowed
- */
- private DefaultCatalog() {
- super("");
- }
-
- @Override
- public final List getSchemas() {
- List result = new ArrayList();
- result.addAll(getSchemas0());
- return result;
- }
-
- private final List getSchemas0() {
- return Arrays.asList(
- TexeraDb.TEXERA_DB);
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java
deleted file mode 100644
index 674a105bb5c..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.tables.*;
-import org.jooq.Index;
-import org.jooq.OrderField;
-import org.jooq.impl.Internal;
-
-
-/**
- * A class modelling indexes of tables of the texera_db
schema.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class Indexes {
-
- // -------------------------------------------------------------------------
- // INDEX definitions
- // -------------------------------------------------------------------------
-
- public static final Index DATASET_IDX_DATASET_NAME_DESCRIPTION = Indexes0.DATASET_IDX_DATASET_NAME_DESCRIPTION;
- public static final Index DATASET_OWNER_UID = Indexes0.DATASET_OWNER_UID;
- public static final Index DATASET_PRIMARY = Indexes0.DATASET_PRIMARY;
- public static final Index DATASET_USER_ACCESS_PRIMARY = Indexes0.DATASET_USER_ACCESS_PRIMARY;
- public static final Index DATASET_USER_ACCESS_UID = Indexes0.DATASET_USER_ACCESS_UID;
- public static final Index DATASET_VERSION_DID = Indexes0.DATASET_VERSION_DID;
- public static final Index DATASET_VERSION_IDX_DATASET_VERSION_NAME = Indexes0.DATASET_VERSION_IDX_DATASET_VERSION_NAME;
- public static final Index DATASET_VERSION_PRIMARY = Indexes0.DATASET_VERSION_PRIMARY;
- public static final Index PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION = Indexes0.PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION;
- public static final Index PROJECT_OWNER_ID = Indexes0.PROJECT_OWNER_ID;
- public static final Index PROJECT_PRIMARY = Indexes0.PROJECT_PRIMARY;
- public static final Index PROJECT_USER_ACCESS_PID = Indexes0.PROJECT_USER_ACCESS_PID;
- public static final Index PROJECT_USER_ACCESS_PRIMARY = Indexes0.PROJECT_USER_ACCESS_PRIMARY;
- public static final Index PUBLIC_PROJECT_PRIMARY = Indexes0.PUBLIC_PROJECT_PRIMARY;
- public static final Index USER_EMAIL = Indexes0.USER_EMAIL;
- public static final Index USER_GOOGLE_ID = Indexes0.USER_GOOGLE_ID;
- public static final Index USER_IDX_USER_NAME = Indexes0.USER_IDX_USER_NAME;
- public static final Index USER_PRIMARY = Indexes0.USER_PRIMARY;
- public static final Index USER_CONFIG_PRIMARY = Indexes0.USER_CONFIG_PRIMARY;
- public static final Index WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT = Indexes0.WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT;
- public static final Index WORKFLOW_PRIMARY = Indexes0.WORKFLOW_PRIMARY;
- public static final Index WORKFLOW_EXECUTIONS_PRIMARY = Indexes0.WORKFLOW_EXECUTIONS_PRIMARY;
- public static final Index WORKFLOW_EXECUTIONS_UID = Indexes0.WORKFLOW_EXECUTIONS_UID;
- public static final Index WORKFLOW_EXECUTIONS_VID = Indexes0.WORKFLOW_EXECUTIONS_VID;
- public static final Index WORKFLOW_OF_PROJECT_PID = Indexes0.WORKFLOW_OF_PROJECT_PID;
- public static final Index WORKFLOW_OF_PROJECT_PRIMARY = Indexes0.WORKFLOW_OF_PROJECT_PRIMARY;
- public static final Index WORKFLOW_OF_USER_PRIMARY = Indexes0.WORKFLOW_OF_USER_PRIMARY;
- public static final Index WORKFLOW_OF_USER_WID = Indexes0.WORKFLOW_OF_USER_WID;
- public static final Index WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID = Indexes0.WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID;
- public static final Index WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Indexes0.WORKFLOW_RUNTIME_STATISTICS_PRIMARY;
- public static final Index WORKFLOW_USER_ACCESS_PRIMARY = Indexes0.WORKFLOW_USER_ACCESS_PRIMARY;
- public static final Index WORKFLOW_USER_ACCESS_WID = Indexes0.WORKFLOW_USER_ACCESS_WID;
- public static final Index WORKFLOW_USER_CLONES_PRIMARY = Indexes0.WORKFLOW_USER_CLONES_PRIMARY;
- public static final Index WORKFLOW_USER_CLONES_WID = Indexes0.WORKFLOW_USER_CLONES_WID;
- public static final Index WORKFLOW_USER_LIKES_PRIMARY = Indexes0.WORKFLOW_USER_LIKES_PRIMARY;
- public static final Index WORKFLOW_USER_LIKES_WID = Indexes0.WORKFLOW_USER_LIKES_WID;
- public static final Index WORKFLOW_VERSION_PRIMARY = Indexes0.WORKFLOW_VERSION_PRIMARY;
- public static final Index WORKFLOW_VERSION_WID = Indexes0.WORKFLOW_VERSION_WID;
- public static final Index WORKFLOW_VIEW_COUNT_PRIMARY = Indexes0.WORKFLOW_VIEW_COUNT_PRIMARY;
-
- // -------------------------------------------------------------------------
- // [#1459] distribute members to avoid static initialisers > 64kb
- // -------------------------------------------------------------------------
-
- private static class Indexes0 {
- public static Index DATASET_IDX_DATASET_NAME_DESCRIPTION = Internal.createIndex("idx_dataset_name_description", Dataset.DATASET, new OrderField[]{Dataset.DATASET.NAME, Dataset.DATASET.DESCRIPTION}, false);
- public static Index DATASET_OWNER_UID = Internal.createIndex("owner_uid", Dataset.DATASET, new OrderField[]{Dataset.DATASET.OWNER_UID}, false);
- public static Index DATASET_PRIMARY = Internal.createIndex("PRIMARY", Dataset.DATASET, new OrderField[]{Dataset.DATASET.DID}, true);
- public static Index DATASET_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", DatasetUserAccess.DATASET_USER_ACCESS, new OrderField[]{DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID}, true);
- public static Index DATASET_USER_ACCESS_UID = Internal.createIndex("uid", DatasetUserAccess.DATASET_USER_ACCESS, new OrderField[]{DatasetUserAccess.DATASET_USER_ACCESS.UID}, false);
- public static Index DATASET_VERSION_DID = Internal.createIndex("did", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.DID}, false);
- public static Index DATASET_VERSION_IDX_DATASET_VERSION_NAME = Internal.createIndex("idx_dataset_version_name", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.NAME}, false);
- public static Index DATASET_VERSION_PRIMARY = Internal.createIndex("PRIMARY", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.DVID}, true);
- public static Index PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION = Internal.createIndex("idx_user_project_name_description", Project.PROJECT, new OrderField[]{Project.PROJECT.NAME, Project.PROJECT.DESCRIPTION}, false);
- public static Index PROJECT_OWNER_ID = Internal.createIndex("owner_id", Project.PROJECT, new OrderField[]{Project.PROJECT.OWNER_ID, Project.PROJECT.NAME}, true);
- public static Index PROJECT_PRIMARY = Internal.createIndex("PRIMARY", Project.PROJECT, new OrderField[]{Project.PROJECT.PID}, true);
- public static Index PROJECT_USER_ACCESS_PID = Internal.createIndex("pid", ProjectUserAccess.PROJECT_USER_ACCESS, new OrderField[]{ProjectUserAccess.PROJECT_USER_ACCESS.PID}, false);
- public static Index PROJECT_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", ProjectUserAccess.PROJECT_USER_ACCESS, new OrderField[]{ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID}, true);
- public static Index PUBLIC_PROJECT_PRIMARY = Internal.createIndex("PRIMARY", PublicProject.PUBLIC_PROJECT, new OrderField[]{PublicProject.PUBLIC_PROJECT.PID}, true);
- public static Index USER_EMAIL = Internal.createIndex("email", User.USER, new OrderField[]{User.USER.EMAIL}, true);
- public static Index USER_GOOGLE_ID = Internal.createIndex("google_id", User.USER, new OrderField[]{User.USER.GOOGLE_ID}, true);
- public static Index USER_IDX_USER_NAME = Internal.createIndex("idx_user_name", User.USER, new OrderField[]{User.USER.NAME}, false);
- public static Index USER_PRIMARY = Internal.createIndex("PRIMARY", User.USER, new OrderField[]{User.USER.UID}, true);
- public static Index USER_CONFIG_PRIMARY = Internal.createIndex("PRIMARY", UserConfig.USER_CONFIG, new OrderField[]{UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY}, true);
- public static Index WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT = Internal.createIndex("idx_workflow_name_description_content", Workflow.WORKFLOW, new OrderField[]{Workflow.WORKFLOW.NAME, Workflow.WORKFLOW.DESCRIPTION, Workflow.WORKFLOW.CONTENT}, false);
- public static Index WORKFLOW_PRIMARY = Internal.createIndex("PRIMARY", Workflow.WORKFLOW, new OrderField[]{Workflow.WORKFLOW.WID}, true);
- public static Index WORKFLOW_EXECUTIONS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.EID}, true);
- public static Index WORKFLOW_EXECUTIONS_UID = Internal.createIndex("uid", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.UID}, false);
- public static Index WORKFLOW_EXECUTIONS_VID = Internal.createIndex("vid", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.VID}, false);
- public static Index WORKFLOW_OF_PROJECT_PID = Internal.createIndex("pid", WorkflowOfProject.WORKFLOW_OF_PROJECT, new OrderField[]{WorkflowOfProject.WORKFLOW_OF_PROJECT.PID}, false);
- public static Index WORKFLOW_OF_PROJECT_PRIMARY = Internal.createIndex("PRIMARY", WorkflowOfProject.WORKFLOW_OF_PROJECT, new OrderField[]{WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID}, true);
- public static Index WORKFLOW_OF_USER_PRIMARY = Internal.createIndex("PRIMARY", WorkflowOfUser.WORKFLOW_OF_USER, new OrderField[]{WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID}, true);
- public static Index WORKFLOW_OF_USER_WID = Internal.createIndex("wid", WorkflowOfUser.WORKFLOW_OF_USER, new OrderField[]{WorkflowOfUser.WORKFLOW_OF_USER.WID}, false);
- public static Index WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID = Internal.createIndex("execution_id", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, new OrderField[]{WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID}, false);
- public static Index WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, new OrderField[]{WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME}, true);
- public static Index WORKFLOW_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserAccess.WORKFLOW_USER_ACCESS, new OrderField[]{WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID}, true);
- public static Index WORKFLOW_USER_ACCESS_WID = Internal.createIndex("wid", WorkflowUserAccess.WORKFLOW_USER_ACCESS, new OrderField[]{WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID}, false);
- public static Index WORKFLOW_USER_CLONES_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserClones.WORKFLOW_USER_CLONES, new OrderField[]{WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID}, true);
- public static Index WORKFLOW_USER_CLONES_WID = Internal.createIndex("wid", WorkflowUserClones.WORKFLOW_USER_CLONES, new OrderField[]{WorkflowUserClones.WORKFLOW_USER_CLONES.WID}, false);
- public static Index WORKFLOW_USER_LIKES_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserLikes.WORKFLOW_USER_LIKES, new OrderField[]{WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID}, true);
- public static Index WORKFLOW_USER_LIKES_WID = Internal.createIndex("wid", WorkflowUserLikes.WORKFLOW_USER_LIKES, new OrderField[]{WorkflowUserLikes.WORKFLOW_USER_LIKES.WID}, false);
- public static Index WORKFLOW_VERSION_PRIMARY = Internal.createIndex("PRIMARY", WorkflowVersion.WORKFLOW_VERSION, new OrderField[]{WorkflowVersion.WORKFLOW_VERSION.VID}, true);
- public static Index WORKFLOW_VERSION_WID = Internal.createIndex("wid", WorkflowVersion.WORKFLOW_VERSION, new OrderField[]{WorkflowVersion.WORKFLOW_VERSION.WID}, false);
- public static Index WORKFLOW_VIEW_COUNT_PRIMARY = Internal.createIndex("PRIMARY", WorkflowViewCount.WORKFLOW_VIEW_COUNT, new OrderField[]{WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID}, true);
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java
deleted file mode 100644
index 3e60490c110..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.tables.*;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.*;
-import org.jooq.ForeignKey;
-import org.jooq.Identity;
-import org.jooq.UniqueKey;
-import org.jooq.impl.Internal;
-import org.jooq.types.UInteger;
-
-
-/**
- * A class modelling foreign key relationships and constraints of tables of
- * the texera_db
schema.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class Keys {
-
- // -------------------------------------------------------------------------
- // IDENTITY definitions
- // -------------------------------------------------------------------------
-
- public static final Identity IDENTITY_DATASET = Identities0.IDENTITY_DATASET;
- public static final Identity IDENTITY_DATASET_VERSION = Identities0.IDENTITY_DATASET_VERSION;
- public static final Identity IDENTITY_PROJECT = Identities0.IDENTITY_PROJECT;
- public static final Identity IDENTITY_USER = Identities0.IDENTITY_USER;
- public static final Identity IDENTITY_WORKFLOW = Identities0.IDENTITY_WORKFLOW;
- public static final Identity IDENTITY_WORKFLOW_EXECUTIONS = Identities0.IDENTITY_WORKFLOW_EXECUTIONS;
- public static final Identity IDENTITY_WORKFLOW_VERSION = Identities0.IDENTITY_WORKFLOW_VERSION;
-
- // -------------------------------------------------------------------------
- // UNIQUE and PRIMARY KEY definitions
- // -------------------------------------------------------------------------
-
- public static final UniqueKey KEY_DATASET_PRIMARY = UniqueKeys0.KEY_DATASET_PRIMARY;
- public static final UniqueKey KEY_DATASET_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_DATASET_USER_ACCESS_PRIMARY;
- public static final UniqueKey KEY_DATASET_VERSION_PRIMARY = UniqueKeys0.KEY_DATASET_VERSION_PRIMARY;
- public static final UniqueKey KEY_PROJECT_PRIMARY = UniqueKeys0.KEY_PROJECT_PRIMARY;
- public static final UniqueKey KEY_PROJECT_OWNER_ID = UniqueKeys0.KEY_PROJECT_OWNER_ID;
- public static final UniqueKey KEY_PROJECT_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_PROJECT_USER_ACCESS_PRIMARY;
- public static final UniqueKey KEY_PUBLIC_PROJECT_PRIMARY = UniqueKeys0.KEY_PUBLIC_PROJECT_PRIMARY;
- public static final UniqueKey KEY_USER_PRIMARY = UniqueKeys0.KEY_USER_PRIMARY;
- public static final UniqueKey KEY_USER_EMAIL = UniqueKeys0.KEY_USER_EMAIL;
- public static final UniqueKey KEY_USER_GOOGLE_ID = UniqueKeys0.KEY_USER_GOOGLE_ID;
- public static final UniqueKey KEY_USER_CONFIG_PRIMARY = UniqueKeys0.KEY_USER_CONFIG_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_PRIMARY = UniqueKeys0.KEY_WORKFLOW_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_EXECUTIONS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_EXECUTIONS_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_OF_PROJECT_PRIMARY = UniqueKeys0.KEY_WORKFLOW_OF_PROJECT_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_OF_USER_PRIMARY = UniqueKeys0.KEY_WORKFLOW_OF_USER_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_ACCESS_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_USER_CLONES_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_CLONES_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_USER_LIKES_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_LIKES_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_VERSION_PRIMARY = UniqueKeys0.KEY_WORKFLOW_VERSION_PRIMARY;
- public static final UniqueKey KEY_WORKFLOW_VIEW_COUNT_PRIMARY = UniqueKeys0.KEY_WORKFLOW_VIEW_COUNT_PRIMARY;
-
- // -------------------------------------------------------------------------
- // FOREIGN KEY definitions
- // -------------------------------------------------------------------------
-
- public static final ForeignKey DATASET_IBFK_1 = ForeignKeys0.DATASET_IBFK_1;
- public static final ForeignKey DATASET_USER_ACCESS_IBFK_1 = ForeignKeys0.DATASET_USER_ACCESS_IBFK_1;
- public static final ForeignKey DATASET_USER_ACCESS_IBFK_2 = ForeignKeys0.DATASET_USER_ACCESS_IBFK_2;
- public static final ForeignKey DATASET_VERSION_IBFK_1 = ForeignKeys0.DATASET_VERSION_IBFK_1;
- public static final ForeignKey PROJECT_IBFK_1 = ForeignKeys0.PROJECT_IBFK_1;
- public static final ForeignKey PROJECT_USER_ACCESS_IBFK_1 = ForeignKeys0.PROJECT_USER_ACCESS_IBFK_1;
- public static final ForeignKey PROJECT_USER_ACCESS_IBFK_2 = ForeignKeys0.PROJECT_USER_ACCESS_IBFK_2;
- public static final ForeignKey PUBLIC_PROJECT_IBFK_1 = ForeignKeys0.PUBLIC_PROJECT_IBFK_1;
- public static final ForeignKey USER_CONFIG_IBFK_1 = ForeignKeys0.USER_CONFIG_IBFK_1;
- public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_1 = ForeignKeys0.WORKFLOW_EXECUTIONS_IBFK_1;
- public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_2 = ForeignKeys0.WORKFLOW_EXECUTIONS_IBFK_2;
- public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_1 = ForeignKeys0.WORKFLOW_OF_PROJECT_IBFK_1;
- public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_2 = ForeignKeys0.WORKFLOW_OF_PROJECT_IBFK_2;
- public static final ForeignKey WORKFLOW_OF_USER_IBFK_1 = ForeignKeys0.WORKFLOW_OF_USER_IBFK_1;
- public static final ForeignKey WORKFLOW_OF_USER_IBFK_2 = ForeignKeys0.WORKFLOW_OF_USER_IBFK_2;
- public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_1 = ForeignKeys0.WORKFLOW_RUNTIME_STATISTICS_IBFK_1;
- public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_2 = ForeignKeys0.WORKFLOW_RUNTIME_STATISTICS_IBFK_2;
- public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_1 = ForeignKeys0.WORKFLOW_USER_ACCESS_IBFK_1;
- public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_2 = ForeignKeys0.WORKFLOW_USER_ACCESS_IBFK_2;
- public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_1 = ForeignKeys0.WORKFLOW_USER_CLONES_IBFK_1;
- public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_2 = ForeignKeys0.WORKFLOW_USER_CLONES_IBFK_2;
- public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_1 = ForeignKeys0.WORKFLOW_USER_LIKES_IBFK_1;
- public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_2 = ForeignKeys0.WORKFLOW_USER_LIKES_IBFK_2;
- public static final ForeignKey WORKFLOW_VERSION_IBFK_1 = ForeignKeys0.WORKFLOW_VERSION_IBFK_1;
- public static final ForeignKey WORKFLOW_VIEW_COUNT_IBFK_1 = ForeignKeys0.WORKFLOW_VIEW_COUNT_IBFK_1;
-
- // -------------------------------------------------------------------------
- // [#1459] distribute members to avoid static initialisers > 64kb
- // -------------------------------------------------------------------------
-
- private static class Identities0 {
- public static Identity IDENTITY_DATASET = Internal.createIdentity(Dataset.DATASET, Dataset.DATASET.DID);
- public static Identity IDENTITY_DATASET_VERSION = Internal.createIdentity(DatasetVersion.DATASET_VERSION, DatasetVersion.DATASET_VERSION.DVID);
- public static Identity IDENTITY_PROJECT = Internal.createIdentity(Project.PROJECT, Project.PROJECT.PID);
- public static Identity IDENTITY_USER = Internal.createIdentity(User.USER, User.USER.UID);
- public static Identity IDENTITY_WORKFLOW = Internal.createIdentity(Workflow.WORKFLOW, Workflow.WORKFLOW.WID);
- public static Identity IDENTITY_WORKFLOW_EXECUTIONS = Internal.createIdentity(WorkflowExecutions.WORKFLOW_EXECUTIONS, WorkflowExecutions.WORKFLOW_EXECUTIONS.EID);
- public static Identity IDENTITY_WORKFLOW_VERSION = Internal.createIdentity(WorkflowVersion.WORKFLOW_VERSION, WorkflowVersion.WORKFLOW_VERSION.VID);
- }
-
- private static class UniqueKeys0 {
- public static final UniqueKey KEY_DATASET_PRIMARY = Internal.createUniqueKey(Dataset.DATASET, "KEY_dataset_PRIMARY", Dataset.DATASET.DID);
- public static final UniqueKey KEY_DATASET_USER_ACCESS_PRIMARY = Internal.createUniqueKey(DatasetUserAccess.DATASET_USER_ACCESS, "KEY_dataset_user_access_PRIMARY", DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID);
- public static final UniqueKey KEY_DATASET_VERSION_PRIMARY = Internal.createUniqueKey(DatasetVersion.DATASET_VERSION, "KEY_dataset_version_PRIMARY", DatasetVersion.DATASET_VERSION.DVID);
- public static final UniqueKey KEY_PROJECT_PRIMARY = Internal.createUniqueKey(Project.PROJECT, "KEY_project_PRIMARY", Project.PROJECT.PID);
- public static final UniqueKey KEY_PROJECT_OWNER_ID = Internal.createUniqueKey(Project.PROJECT, "KEY_project_owner_id", Project.PROJECT.OWNER_ID, Project.PROJECT.NAME);
- public static final UniqueKey KEY_PROJECT_USER_ACCESS_PRIMARY = Internal.createUniqueKey(ProjectUserAccess.PROJECT_USER_ACCESS, "KEY_project_user_access_PRIMARY", ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID);
- public static final UniqueKey KEY_PUBLIC_PROJECT_PRIMARY = Internal.createUniqueKey(PublicProject.PUBLIC_PROJECT, "KEY_public_project_PRIMARY", PublicProject.PUBLIC_PROJECT.PID);
- public static final UniqueKey KEY_USER_PRIMARY = Internal.createUniqueKey(User.USER, "KEY_user_PRIMARY", User.USER.UID);
- public static final UniqueKey KEY_USER_EMAIL = Internal.createUniqueKey(User.USER, "KEY_user_email", User.USER.EMAIL);
- public static final UniqueKey KEY_USER_GOOGLE_ID = Internal.createUniqueKey(User.USER, "KEY_user_google_id", User.USER.GOOGLE_ID);
- public static final UniqueKey KEY_USER_CONFIG_PRIMARY = Internal.createUniqueKey(UserConfig.USER_CONFIG, "KEY_user_config_PRIMARY", UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY);
- public static final UniqueKey KEY_WORKFLOW_PRIMARY = Internal.createUniqueKey(Workflow.WORKFLOW, "KEY_workflow_PRIMARY", Workflow.WORKFLOW.WID);
- public static final UniqueKey KEY_WORKFLOW_EXECUTIONS_PRIMARY = Internal.createUniqueKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, "KEY_workflow_executions_PRIMARY", WorkflowExecutions.WORKFLOW_EXECUTIONS.EID);
- public static final UniqueKey KEY_WORKFLOW_OF_PROJECT_PRIMARY = Internal.createUniqueKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, "KEY_workflow_of_project_PRIMARY", WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID);
- public static final UniqueKey KEY_WORKFLOW_OF_USER_PRIMARY = Internal.createUniqueKey(WorkflowOfUser.WORKFLOW_OF_USER, "KEY_workflow_of_user_PRIMARY", WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID);
- public static final UniqueKey KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Internal.createUniqueKey(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "KEY_workflow_runtime_statistics_PRIMARY", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME);
- public static final UniqueKey KEY_WORKFLOW_USER_ACCESS_PRIMARY = Internal.createUniqueKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, "KEY_workflow_user_access_PRIMARY", WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID);
- public static final UniqueKey KEY_WORKFLOW_USER_CLONES_PRIMARY = Internal.createUniqueKey(WorkflowUserClones.WORKFLOW_USER_CLONES, "KEY_workflow_user_clones_PRIMARY", WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID);
- public static final UniqueKey KEY_WORKFLOW_USER_LIKES_PRIMARY = Internal.createUniqueKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, "KEY_workflow_user_likes_PRIMARY", WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID);
- public static final UniqueKey KEY_WORKFLOW_VERSION_PRIMARY = Internal.createUniqueKey(WorkflowVersion.WORKFLOW_VERSION, "KEY_workflow_version_PRIMARY", WorkflowVersion.WORKFLOW_VERSION.VID);
- public static final UniqueKey KEY_WORKFLOW_VIEW_COUNT_PRIMARY = Internal.createUniqueKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, "KEY_workflow_view_count_PRIMARY", WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID);
- }
-
- private static class ForeignKeys0 {
- public static final ForeignKey DATASET_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, Dataset.DATASET, "dataset_ibfk_1", Dataset.DATASET.OWNER_UID);
- public static final ForeignKey DATASET_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_DATASET_PRIMARY, DatasetUserAccess.DATASET_USER_ACCESS, "dataset_user_access_ibfk_1", DatasetUserAccess.DATASET_USER_ACCESS.DID);
- public static final ForeignKey DATASET_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, DatasetUserAccess.DATASET_USER_ACCESS, "dataset_user_access_ibfk_2", DatasetUserAccess.DATASET_USER_ACCESS.UID);
- public static final ForeignKey DATASET_VERSION_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_DATASET_PRIMARY, DatasetVersion.DATASET_VERSION, "dataset_version_ibfk_1", DatasetVersion.DATASET_VERSION.DID);
- public static final ForeignKey PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, Project.PROJECT, "project_ibfk_1", Project.PROJECT.OWNER_ID);
- public static final ForeignKey PROJECT_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, ProjectUserAccess.PROJECT_USER_ACCESS, "project_user_access_ibfk_1", ProjectUserAccess.PROJECT_USER_ACCESS.UID);
- public static final ForeignKey PROJECT_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, ProjectUserAccess.PROJECT_USER_ACCESS, "project_user_access_ibfk_2", ProjectUserAccess.PROJECT_USER_ACCESS.PID);
- public static final ForeignKey PUBLIC_PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, PublicProject.PUBLIC_PROJECT, "public_project_ibfk_1", PublicProject.PUBLIC_PROJECT.PID);
- public static final ForeignKey USER_CONFIG_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, UserConfig.USER_CONFIG, "user_config_ibfk_1", UserConfig.USER_CONFIG.UID);
- public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_VERSION_PRIMARY, WorkflowExecutions.WORKFLOW_EXECUTIONS, "workflow_executions_ibfk_1", WorkflowExecutions.WORKFLOW_EXECUTIONS.VID);
- public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowExecutions.WORKFLOW_EXECUTIONS, "workflow_executions_ibfk_2", WorkflowExecutions.WORKFLOW_EXECUTIONS.UID);
- public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowOfProject.WORKFLOW_OF_PROJECT, "workflow_of_project_ibfk_1", WorkflowOfProject.WORKFLOW_OF_PROJECT.WID);
- public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, WorkflowOfProject.WORKFLOW_OF_PROJECT, "workflow_of_project_ibfk_2", WorkflowOfProject.WORKFLOW_OF_PROJECT.PID);
- public static final ForeignKey WORKFLOW_OF_USER_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowOfUser.WORKFLOW_OF_USER, "workflow_of_user_ibfk_1", WorkflowOfUser.WORKFLOW_OF_USER.UID);
- public static final ForeignKey WORKFLOW_OF_USER_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowOfUser.WORKFLOW_OF_USER, "workflow_of_user_ibfk_2", WorkflowOfUser.WORKFLOW_OF_USER.WID);
- public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "workflow_runtime_statistics_ibfk_1", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID);
- public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_EXECUTIONS_PRIMARY, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "workflow_runtime_statistics_ibfk_2", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID);
- public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserAccess.WORKFLOW_USER_ACCESS, "workflow_user_access_ibfk_1", WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID);
- public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserAccess.WORKFLOW_USER_ACCESS, "workflow_user_access_ibfk_2", WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID);
- public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserClones.WORKFLOW_USER_CLONES, "workflow_user_clones_ibfk_1", WorkflowUserClones.WORKFLOW_USER_CLONES.UID);
- public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserClones.WORKFLOW_USER_CLONES, "workflow_user_clones_ibfk_2", WorkflowUserClones.WORKFLOW_USER_CLONES.WID);
- public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserLikes.WORKFLOW_USER_LIKES, "workflow_user_likes_ibfk_1", WorkflowUserLikes.WORKFLOW_USER_LIKES.UID);
- public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserLikes.WORKFLOW_USER_LIKES, "workflow_user_likes_ibfk_2", WorkflowUserLikes.WORKFLOW_USER_LIKES.WID);
- public static final ForeignKey WORKFLOW_VERSION_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowVersion.WORKFLOW_VERSION, "workflow_version_ibfk_1", WorkflowVersion.WORKFLOW_VERSION.WID);
- public static final ForeignKey WORKFLOW_VIEW_COUNT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowViewCount.WORKFLOW_VIEW_COUNT, "workflow_view_count_ibfk_1", WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID);
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java
deleted file mode 100644
index 2308ffcc240..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.tables.*;
-
-
-/**
- * Convenience access to all tables in texera_db
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class Tables {
-
- /**
- * The table texera_db.dataset
.
- */
- public static final Dataset DATASET = Dataset.DATASET;
-
- /**
- * The table texera_db.dataset_user_access
.
- */
- public static final DatasetUserAccess DATASET_USER_ACCESS = DatasetUserAccess.DATASET_USER_ACCESS;
-
- /**
- * The table texera_db.dataset_version
.
- */
- public static final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION;
-
- /**
- * The table texera_db.project
.
- */
- public static final Project PROJECT = Project.PROJECT;
-
- /**
- * The table texera_db.project_user_access
.
- */
- public static final ProjectUserAccess PROJECT_USER_ACCESS = ProjectUserAccess.PROJECT_USER_ACCESS;
-
- /**
- * The table texera_db.public_project
.
- */
- public static final PublicProject PUBLIC_PROJECT = PublicProject.PUBLIC_PROJECT;
-
- /**
- * The table texera_db.user
.
- */
- public static final User USER = User.USER;
-
- /**
- * The table texera_db.user_config
.
- */
- public static final UserConfig USER_CONFIG = UserConfig.USER_CONFIG;
-
- /**
- * The table texera_db.workflow
.
- */
- public static final Workflow WORKFLOW = Workflow.WORKFLOW;
-
- /**
- * The table texera_db.workflow_executions
.
- */
- public static final WorkflowExecutions WORKFLOW_EXECUTIONS = WorkflowExecutions.WORKFLOW_EXECUTIONS;
-
- /**
- * The table texera_db.workflow_of_project
.
- */
- public static final WorkflowOfProject WORKFLOW_OF_PROJECT = WorkflowOfProject.WORKFLOW_OF_PROJECT;
-
- /**
- * The table texera_db.workflow_of_user
.
- */
- public static final WorkflowOfUser WORKFLOW_OF_USER = WorkflowOfUser.WORKFLOW_OF_USER;
-
- /**
- * The table texera_db.workflow_runtime_statistics
.
- */
- public static final WorkflowRuntimeStatistics WORKFLOW_RUNTIME_STATISTICS = WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS;
-
- /**
- * The table texera_db.workflow_user_access
.
- */
- public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS;
-
- /**
- * The table texera_db.workflow_user_activity
.
- */
- public static final WorkflowUserActivity WORKFLOW_USER_ACTIVITY = WorkflowUserActivity.WORKFLOW_USER_ACTIVITY;
-
- /**
- * The table texera_db.workflow_user_clones
.
- */
- public static final WorkflowUserClones WORKFLOW_USER_CLONES = WorkflowUserClones.WORKFLOW_USER_CLONES;
-
- /**
- * The table texera_db.workflow_user_likes
.
- */
- public static final WorkflowUserLikes WORKFLOW_USER_LIKES = WorkflowUserLikes.WORKFLOW_USER_LIKES;
-
- /**
- * The table texera_db.workflow_version
.
- */
- public static final WorkflowVersion WORKFLOW_VERSION = WorkflowVersion.WORKFLOW_VERSION;
-
- /**
- * The table texera_db.workflow_view_count
.
- */
- public static final WorkflowViewCount WORKFLOW_VIEW_COUNT = WorkflowViewCount.WORKFLOW_VIEW_COUNT;
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java
deleted file mode 100644
index e0b271b46ac..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.tables.*;
-import org.jooq.Catalog;
-import org.jooq.Table;
-import org.jooq.impl.SchemaImpl;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class TexeraDb extends SchemaImpl {
-
- private static final long serialVersionUID = 2026314588;
-
- /**
- * The reference instance of texera_db
- */
- public static final TexeraDb TEXERA_DB = new TexeraDb();
-
- /**
- * The table texera_db.dataset
.
- */
- public final Dataset DATASET = edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset.DATASET;
-
- /**
- * The table texera_db.dataset_user_access
.
- */
- public final DatasetUserAccess DATASET_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS;
-
- /**
- * The table texera_db.dataset_version
.
- */
- public final DatasetVersion DATASET_VERSION = edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetVersion.DATASET_VERSION;
-
- /**
- * The table texera_db.project
.
- */
- public final Project PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.Project.PROJECT;
-
- /**
- * The table texera_db.project_user_access
.
- */
- public final ProjectUserAccess PROJECT_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.ProjectUserAccess.PROJECT_USER_ACCESS;
-
- /**
- * The table texera_db.public_project
.
- */
- public final PublicProject PUBLIC_PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.PublicProject.PUBLIC_PROJECT;
-
- /**
- * The table texera_db.user
.
- */
- public final User USER = edu.uci.ics.texera.web.model.jooq.generated.tables.User.USER;
-
- /**
- * The table texera_db.user_config
.
- */
- public final UserConfig USER_CONFIG = edu.uci.ics.texera.web.model.jooq.generated.tables.UserConfig.USER_CONFIG;
-
- /**
- * The table texera_db.workflow
.
- */
- public final Workflow WORKFLOW = edu.uci.ics.texera.web.model.jooq.generated.tables.Workflow.WORKFLOW;
-
- /**
- * The table texera_db.workflow_executions
.
- */
- public final WorkflowExecutions WORKFLOW_EXECUTIONS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowExecutions.WORKFLOW_EXECUTIONS;
-
- /**
- * The table texera_db.workflow_of_project
.
- */
- public final WorkflowOfProject WORKFLOW_OF_PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfProject.WORKFLOW_OF_PROJECT;
-
- /**
- * The table texera_db.workflow_of_user
.
- */
- public final WorkflowOfUser WORKFLOW_OF_USER = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfUser.WORKFLOW_OF_USER;
-
- /**
- * The table texera_db.workflow_runtime_statistics
.
- */
- public final WorkflowRuntimeStatistics WORKFLOW_RUNTIME_STATISTICS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS;
-
- /**
- * The table texera_db.workflow_user_access
.
- */
- public final WorkflowUserAccess WORKFLOW_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserAccess.WORKFLOW_USER_ACCESS;
-
- /**
- * The table texera_db.workflow_user_activity
.
- */
- public final WorkflowUserActivity WORKFLOW_USER_ACTIVITY = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserActivity.WORKFLOW_USER_ACTIVITY;
-
- /**
- * The table texera_db.workflow_user_clones
.
- */
- public final WorkflowUserClones WORKFLOW_USER_CLONES = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserClones.WORKFLOW_USER_CLONES;
-
- /**
- * The table texera_db.workflow_user_likes
.
- */
- public final WorkflowUserLikes WORKFLOW_USER_LIKES = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserLikes.WORKFLOW_USER_LIKES;
-
- /**
- * The table texera_db.workflow_version
.
- */
- public final WorkflowVersion WORKFLOW_VERSION = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowVersion.WORKFLOW_VERSION;
-
- /**
- * The table texera_db.workflow_view_count
.
- */
- public final WorkflowViewCount WORKFLOW_VIEW_COUNT = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowViewCount.WORKFLOW_VIEW_COUNT;
-
- /**
- * No further instances allowed
- */
- private TexeraDb() {
- super("texera_db", null);
- }
-
-
- @Override
- public Catalog getCatalog() {
- return DefaultCatalog.DEFAULT_CATALOG;
- }
-
- @Override
- public final List> getTables() {
- List result = new ArrayList();
- result.addAll(getTables0());
- return result;
- }
-
- private final List> getTables0() {
- return Arrays.>asList(
- Dataset.DATASET,
- DatasetUserAccess.DATASET_USER_ACCESS,
- DatasetVersion.DATASET_VERSION,
- Project.PROJECT,
- ProjectUserAccess.PROJECT_USER_ACCESS,
- PublicProject.PUBLIC_PROJECT,
- User.USER,
- UserConfig.USER_CONFIG,
- Workflow.WORKFLOW,
- WorkflowExecutions.WORKFLOW_EXECUTIONS,
- WorkflowOfProject.WORKFLOW_OF_PROJECT,
- WorkflowOfUser.WORKFLOW_OF_USER,
- WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS,
- WorkflowUserAccess.WORKFLOW_USER_ACCESS,
- WorkflowUserActivity.WORKFLOW_USER_ACTIVITY,
- WorkflowUserClones.WORKFLOW_USER_CLONES,
- WorkflowUserLikes.WORKFLOW_USER_LIKES,
- WorkflowVersion.WORKFLOW_VERSION,
- WorkflowViewCount.WORKFLOW_VIEW_COUNT);
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java
deleted file mode 100644
index 54fc70fa4e2..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.enums;
-
-
-import org.jooq.Catalog;
-import org.jooq.EnumType;
-import org.jooq.Schema;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public enum DatasetUserAccessPrivilege implements EnumType {
-
- NONE("NONE"),
-
- READ("READ"),
-
- WRITE("WRITE");
-
- private final String literal;
-
- private DatasetUserAccessPrivilege(String literal) {
- this.literal = literal;
- }
-
- @Override
- public Catalog getCatalog() {
- return null;
- }
-
- @Override
- public Schema getSchema() {
- return null;
- }
-
- @Override
- public String getName() {
- return "dataset_user_access_privilege";
- }
-
- @Override
- public String getLiteral() {
- return literal;
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java
deleted file mode 100644
index 72e671bb516..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.enums;
-
-
-import org.jooq.Catalog;
-import org.jooq.EnumType;
-import org.jooq.Schema;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public enum ProjectUserAccessPrivilege implements EnumType {
-
- NONE("NONE"),
-
- READ("READ"),
-
- WRITE("WRITE");
-
- private final String literal;
-
- private ProjectUserAccessPrivilege(String literal) {
- this.literal = literal;
- }
-
- @Override
- public Catalog getCatalog() {
- return null;
- }
-
- @Override
- public Schema getSchema() {
- return null;
- }
-
- @Override
- public String getName() {
- return "project_user_access_privilege";
- }
-
- @Override
- public String getLiteral() {
- return literal;
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java
deleted file mode 100644
index a115af8e3d8..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.enums;
-
-
-import org.jooq.Catalog;
-import org.jooq.EnumType;
-import org.jooq.Schema;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public enum UserRole implements EnumType {
-
- INACTIVE("INACTIVE"),
-
- RESTRICTED("RESTRICTED"),
-
- REGULAR("REGULAR"),
-
- ADMIN("ADMIN");
-
- private final String literal;
-
- private UserRole(String literal) {
- this.literal = literal;
- }
-
- @Override
- public Catalog getCatalog() {
- return null;
- }
-
- @Override
- public Schema getSchema() {
- return null;
- }
-
- @Override
- public String getName() {
- return "user_role";
- }
-
- @Override
- public String getLiteral() {
- return literal;
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java
deleted file mode 100644
index dff22660276..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.enums;
-
-
-import org.jooq.Catalog;
-import org.jooq.EnumType;
-import org.jooq.Schema;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public enum WorkflowUserAccessPrivilege implements EnumType {
-
- NONE("NONE"),
-
- READ("READ"),
-
- WRITE("WRITE");
-
- private final String literal;
-
- private WorkflowUserAccessPrivilege(String literal) {
- this.literal = literal;
- }
-
- @Override
- public Catalog getCatalog() {
- return null;
- }
-
- @Override
- public Schema getSchema() {
- return null;
- }
-
- @Override
- public String getName() {
- return "workflow_user_access_privilege";
- }
-
- @Override
- public String getLiteral() {
- return literal;
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java
deleted file mode 100644
index 4192e6ccb4f..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class Dataset extends TableImpl {
-
- private static final long serialVersionUID = 1571657241;
-
- /**
- * The reference instance of texera_db.dataset
- */
- public static final Dataset DATASET = new Dataset();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return DatasetRecord.class;
- }
-
- /**
- * The column texera_db.dataset.did
.
- */
- public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, "");
-
- /**
- * The column texera_db.dataset.owner_uid
.
- */
- public final TableField OWNER_UID = createField(DSL.name("owner_uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.dataset.name
.
- */
- public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, "");
-
- /**
- * The column texera_db.dataset.is_public
.
- */
- public final TableField IS_PUBLIC = createField(DSL.name("is_public"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("1", org.jooq.impl.SQLDataType.TINYINT)), this, "");
-
- /**
- * The column texera_db.dataset.description
.
- */
- public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.VARCHAR(512).nullable(false), this, "");
-
- /**
- * The column texera_db.dataset.creation_time
.
- */
- public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * Create a texera_db.dataset
table reference
- */
- public Dataset() {
- this(DSL.name("dataset"), null);
- }
-
- /**
- * Create an aliased texera_db.dataset
table reference
- */
- public Dataset(String alias) {
- this(DSL.name(alias), DATASET);
- }
-
- /**
- * Create an aliased texera_db.dataset
table reference
- */
- public Dataset(Name alias) {
- this(alias, DATASET);
- }
-
- private Dataset(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private Dataset(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public Dataset(Table child, ForeignKey key) {
- super(child, key, DATASET);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.DATASET_IDX_DATASET_NAME_DESCRIPTION, Indexes.DATASET_OWNER_UID, Indexes.DATASET_PRIMARY);
- }
-
- @Override
- public Identity getIdentity() {
- return Keys.IDENTITY_DATASET;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_DATASET_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_DATASET_PRIMARY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.DATASET_IBFK_1);
- }
-
- public User user() {
- return new User(this, Keys.DATASET_IBFK_1);
- }
-
- @Override
- public Dataset as(String alias) {
- return new Dataset(DSL.name(alias), this);
- }
-
- @Override
- public Dataset as(Name alias) {
- return new Dataset(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Dataset rename(String name) {
- return new Dataset(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Dataset rename(Name name) {
- return new Dataset(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row6 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row6 fieldsRow() {
- return (Row6) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java
deleted file mode 100644
index 63f48822646..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetUserAccessRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class DatasetUserAccess extends TableImpl {
-
- private static final long serialVersionUID = -996212423;
-
- /**
- * The reference instance of texera_db.dataset_user_access
- */
- public static final DatasetUserAccess DATASET_USER_ACCESS = new DatasetUserAccess();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return DatasetUserAccessRecord.class;
- }
-
- /**
- * The column texera_db.dataset_user_access.did
.
- */
- public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_user_access.uid
.
- */
- public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_user_access.privilege
.
- */
- public final TableField PRIVILEGE = createField(DSL.name("privilege"), org.jooq.impl.SQLDataType.VARCHAR(5).nullable(false).defaultValue(org.jooq.impl.DSL.inline("NONE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege.class), this, "");
-
- /**
- * Create a texera_db.dataset_user_access
table reference
- */
- public DatasetUserAccess() {
- this(DSL.name("dataset_user_access"), null);
- }
-
- /**
- * Create an aliased texera_db.dataset_user_access
table reference
- */
- public DatasetUserAccess(String alias) {
- this(DSL.name(alias), DATASET_USER_ACCESS);
- }
-
- /**
- * Create an aliased texera_db.dataset_user_access
table reference
- */
- public DatasetUserAccess(Name alias) {
- this(alias, DATASET_USER_ACCESS);
- }
-
- private DatasetUserAccess(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private DatasetUserAccess(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public DatasetUserAccess(Table child, ForeignKey key) {
- super(child, key, DATASET_USER_ACCESS);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.DATASET_USER_ACCESS_PRIMARY, Indexes.DATASET_USER_ACCESS_UID);
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_DATASET_USER_ACCESS_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_DATASET_USER_ACCESS_PRIMARY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.DATASET_USER_ACCESS_IBFK_1, Keys.DATASET_USER_ACCESS_IBFK_2);
- }
-
- public Dataset dataset() {
- return new Dataset(this, Keys.DATASET_USER_ACCESS_IBFK_1);
- }
-
- public User user() {
- return new User(this, Keys.DATASET_USER_ACCESS_IBFK_2);
- }
-
- @Override
- public DatasetUserAccess as(String alias) {
- return new DatasetUserAccess(DSL.name(alias), this);
- }
-
- @Override
- public DatasetUserAccess as(Name alias) {
- return new DatasetUserAccess(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public DatasetUserAccess rename(String name) {
- return new DatasetUserAccess(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public DatasetUserAccess rename(Name name) {
- return new DatasetUserAccess(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row3 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row3 fieldsRow() {
- return (Row3) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java
deleted file mode 100644
index 4615b229f1d..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetVersionRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class DatasetVersion extends TableImpl {
-
- private static final long serialVersionUID = 25893167;
-
- /**
- * The reference instance of texera_db.dataset_version
- */
- public static final DatasetVersion DATASET_VERSION = new DatasetVersion();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return DatasetVersionRecord.class;
- }
-
- /**
- * The column texera_db.dataset_version.dvid
.
- */
- public final TableField DVID = createField(DSL.name("dvid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, "");
-
- /**
- * The column texera_db.dataset_version.did
.
- */
- public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_version.creator_uid
.
- */
- public final TableField CREATOR_UID = createField(DSL.name("creator_uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_version.name
.
- */
- public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_version.version_hash
.
- */
- public final TableField VERSION_HASH = createField(DSL.name("version_hash"), org.jooq.impl.SQLDataType.VARCHAR(64).nullable(false), this, "");
-
- /**
- * The column texera_db.dataset_version.creation_time
.
- */
- public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * Create a texera_db.dataset_version
table reference
- */
- public DatasetVersion() {
- this(DSL.name("dataset_version"), null);
- }
-
- /**
- * Create an aliased texera_db.dataset_version
table reference
- */
- public DatasetVersion(String alias) {
- this(DSL.name(alias), DATASET_VERSION);
- }
-
- /**
- * Create an aliased texera_db.dataset_version
table reference
- */
- public DatasetVersion(Name alias) {
- this(alias, DATASET_VERSION);
- }
-
- private DatasetVersion(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private DatasetVersion(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public DatasetVersion(Table child, ForeignKey key) {
- super(child, key, DATASET_VERSION);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.DATASET_VERSION_DID, Indexes.DATASET_VERSION_IDX_DATASET_VERSION_NAME, Indexes.DATASET_VERSION_PRIMARY);
- }
-
- @Override
- public Identity getIdentity() {
- return Keys.IDENTITY_DATASET_VERSION;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_DATASET_VERSION_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_DATASET_VERSION_PRIMARY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.DATASET_VERSION_IBFK_1);
- }
-
- public Dataset dataset() {
- return new Dataset(this, Keys.DATASET_VERSION_IBFK_1);
- }
-
- @Override
- public DatasetVersion as(String alias) {
- return new DatasetVersion(DSL.name(alias), this);
- }
-
- @Override
- public DatasetVersion as(Name alias) {
- return new DatasetVersion(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public DatasetVersion rename(String name) {
- return new DatasetVersion(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public DatasetVersion rename(Name name) {
- return new DatasetVersion(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row6 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row6 fieldsRow() {
- return (Row6) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java
deleted file mode 100644
index a46efd3f34e..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class Project extends TableImpl {
-
- private static final long serialVersionUID = 1829720653;
-
- /**
- * The reference instance of texera_db.project
- */
- public static final Project PROJECT = new Project();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return ProjectRecord.class;
- }
-
- /**
- * The column texera_db.project.pid
.
- */
- public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, "");
-
- /**
- * The column texera_db.project.name
.
- */
- public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, "");
-
- /**
- * The column texera_db.project.description
.
- */
- public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.VARCHAR(10000), this, "");
-
- /**
- * The column texera_db.project.owner_id
.
- */
- public final TableField OWNER_ID = createField(DSL.name("owner_id"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.project.creation_time
.
- */
- public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column texera_db.project.color
.
- */
- public final TableField COLOR = createField(DSL.name("color"), org.jooq.impl.SQLDataType.VARCHAR(6), this, "");
-
- /**
- * Create a texera_db.project
table reference
- */
- public Project() {
- this(DSL.name("project"), null);
- }
-
- /**
- * Create an aliased texera_db.project
table reference
- */
- public Project(String alias) {
- this(DSL.name(alias), PROJECT);
- }
-
- /**
- * Create an aliased texera_db.project
table reference
- */
- public Project(Name alias) {
- this(alias, PROJECT);
- }
-
- private Project(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private Project(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public Project(Table child, ForeignKey key) {
- super(child, key, PROJECT);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION, Indexes.PROJECT_OWNER_ID, Indexes.PROJECT_PRIMARY);
- }
-
- @Override
- public Identity getIdentity() {
- return Keys.IDENTITY_PROJECT;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_PROJECT_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_PROJECT_PRIMARY, Keys.KEY_PROJECT_OWNER_ID);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.PROJECT_IBFK_1);
- }
-
- public User user() {
- return new User(this, Keys.PROJECT_IBFK_1);
- }
-
- @Override
- public Project as(String alias) {
- return new Project(DSL.name(alias), this);
- }
-
- @Override
- public Project as(Name alias) {
- return new Project(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Project rename(String name) {
- return new Project(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Project rename(Name name) {
- return new Project(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row6 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row6 fieldsRow() {
- return (Row6) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java
deleted file mode 100644
index 1d8883ce1f6..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectUserAccessRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class ProjectUserAccess extends TableImpl {
-
- private static final long serialVersionUID = -2015215347;
-
- /**
- * The reference instance of texera_db.project_user_access
- */
- public static final ProjectUserAccess PROJECT_USER_ACCESS = new ProjectUserAccess();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return ProjectUserAccessRecord.class;
- }
-
- /**
- * The column texera_db.project_user_access.uid
.
- */
- public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.project_user_access.pid
.
- */
- public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.project_user_access.privilege
.
- */
- public final TableField PRIVILEGE = createField(DSL.name("privilege"), org.jooq.impl.SQLDataType.VARCHAR(5).nullable(false).defaultValue(org.jooq.impl.DSL.inline("NONE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege.class), this, "");
-
- /**
- * Create a texera_db.project_user_access
table reference
- */
- public ProjectUserAccess() {
- this(DSL.name("project_user_access"), null);
- }
-
- /**
- * Create an aliased texera_db.project_user_access
table reference
- */
- public ProjectUserAccess(String alias) {
- this(DSL.name(alias), PROJECT_USER_ACCESS);
- }
-
- /**
- * Create an aliased texera_db.project_user_access
table reference
- */
- public ProjectUserAccess(Name alias) {
- this(alias, PROJECT_USER_ACCESS);
- }
-
- private ProjectUserAccess(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private ProjectUserAccess(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public ProjectUserAccess(Table child, ForeignKey key) {
- super(child, key, PROJECT_USER_ACCESS);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.PROJECT_USER_ACCESS_PID, Indexes.PROJECT_USER_ACCESS_PRIMARY);
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_PROJECT_USER_ACCESS_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_PROJECT_USER_ACCESS_PRIMARY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.PROJECT_USER_ACCESS_IBFK_1, Keys.PROJECT_USER_ACCESS_IBFK_2);
- }
-
- public User user() {
- return new User(this, Keys.PROJECT_USER_ACCESS_IBFK_1);
- }
-
- public Project project() {
- return new Project(this, Keys.PROJECT_USER_ACCESS_IBFK_2);
- }
-
- @Override
- public ProjectUserAccess as(String alias) {
- return new ProjectUserAccess(DSL.name(alias), this);
- }
-
- @Override
- public ProjectUserAccess as(Name alias) {
- return new ProjectUserAccess(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public ProjectUserAccess rename(String name) {
- return new ProjectUserAccess(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public ProjectUserAccess rename(Name name) {
- return new ProjectUserAccess(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row3 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row3 fieldsRow() {
- return (Row3) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java
deleted file mode 100644
index d7e0f77eed8..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.PublicProjectRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class PublicProject extends TableImpl {
-
- private static final long serialVersionUID = 509034382;
-
- /**
- * The reference instance of texera_db.public_project
- */
- public static final PublicProject PUBLIC_PROJECT = new PublicProject();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return PublicProjectRecord.class;
- }
-
- /**
- * The column texera_db.public_project.pid
.
- */
- public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
-
- /**
- * The column texera_db.public_project.uid
.
- */
- public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED, this, "");
-
- /**
- * Create a texera_db.public_project
table reference
- */
- public PublicProject() {
- this(DSL.name("public_project"), null);
- }
-
- /**
- * Create an aliased texera_db.public_project
table reference
- */
- public PublicProject(String alias) {
- this(DSL.name(alias), PUBLIC_PROJECT);
- }
-
- /**
- * Create an aliased texera_db.public_project
table reference
- */
- public PublicProject(Name alias) {
- this(alias, PUBLIC_PROJECT);
- }
-
- private PublicProject(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private PublicProject(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public PublicProject(Table child, ForeignKey key) {
- super(child, key, PUBLIC_PROJECT);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.PUBLIC_PROJECT_PRIMARY);
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_PUBLIC_PROJECT_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_PUBLIC_PROJECT_PRIMARY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.>asList(Keys.PUBLIC_PROJECT_IBFK_1);
- }
-
- public Project project() {
- return new Project(this, Keys.PUBLIC_PROJECT_IBFK_1);
- }
-
- @Override
- public PublicProject as(String alias) {
- return new PublicProject(DSL.name(alias), this);
- }
-
- @Override
- public PublicProject as(Name alias) {
- return new PublicProject(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public PublicProject rename(String name) {
- return new PublicProject(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public PublicProject rename(Name name) {
- return new PublicProject(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row2 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row2 fieldsRow() {
- return (Row2) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java
deleted file mode 100644
index 3b2e309a9e4..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class User extends TableImpl {
-
- private static final long serialVersionUID = 670965342;
-
- /**
- * The reference instance of texera_db.user
- */
- public static final User USER = new User();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return UserRecord.class;
- }
-
- /**
- * The column texera_db.user.uid
.
- */
- public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, "");
-
- /**
- * The column texera_db.user.name
.
- */
- public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(256).nullable(false), this, "");
-
- /**
- * The column texera_db.user.email
.
- */
- public final TableField EMAIL = createField(DSL.name("email"), org.jooq.impl.SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column texera_db.user.password
.
- */
- public final TableField PASSWORD = createField(DSL.name("password"), org.jooq.impl.SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column texera_db.user.google_id
.
- */
- public final TableField GOOGLE_ID = createField(DSL.name("google_id"), org.jooq.impl.SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column texera_db.user.role
.
- */
- public final TableField ROLE = createField(DSL.name("role"), org.jooq.impl.SQLDataType.VARCHAR(10).nullable(false).defaultValue(org.jooq.impl.DSL.inline("INACTIVE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole.class), this, "");
-
- /**
- * The column texera_db.user.google_avatar
.
- */
- public final TableField GOOGLE_AVATAR = createField(DSL.name("google_avatar"), org.jooq.impl.SQLDataType.VARCHAR(100), this, "");
-
- /**
- * Create a texera_db.user
table reference
- */
- public User() {
- this(DSL.name("user"), null);
- }
-
- /**
- * Create an aliased texera_db.user
table reference
- */
- public User(String alias) {
- this(DSL.name(alias), USER);
- }
-
- /**
- * Create an aliased texera_db.user
table reference
- */
- public User(Name alias) {
- this(alias, USER);
- }
-
- private User(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private User(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
-
- public User(Table child, ForeignKey key) {
- super(child, key, USER);
- }
-
- @Override
- public Schema getSchema() {
- return TexeraDb.TEXERA_DB;
- }
-
- @Override
- public List getIndexes() {
- return Arrays.asList(Indexes.USER_EMAIL, Indexes.USER_GOOGLE_ID, Indexes.USER_IDX_USER_NAME, Indexes.USER_PRIMARY);
- }
-
- @Override
- public Identity getIdentity() {
- return Keys.IDENTITY_USER;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.KEY_USER_PRIMARY;
- }
-
- @Override
- public List> getKeys() {
- return Arrays.>asList(Keys.KEY_USER_PRIMARY, Keys.KEY_USER_EMAIL, Keys.KEY_USER_GOOGLE_ID);
- }
-
- @Override
- public User as(String alias) {
- return new User(DSL.name(alias), this);
- }
-
- @Override
- public User as(Name alias) {
- return new User(alias, this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public User rename(String name) {
- return new User(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public User rename(Name name) {
- return new User(name, null);
- }
-
- // -------------------------------------------------------------------------
- // Row7 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row7 fieldsRow() {
- return (Row7) super.fieldsRow();
- }
-}
diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java
deleted file mode 100644
index e671f7670b6..00000000000
--- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package edu.uci.ics.texera.web.model.jooq.generated.tables;
-
-
-import edu.uci.ics.texera.web.model.jooq.generated.Indexes;
-import edu.uci.ics.texera.web.model.jooq.generated.Keys;
-import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb;
-import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserConfigRecord;
-import org.jooq.*;
-import org.jooq.impl.DSL;
-import org.jooq.impl.TableImpl;
-import org.jooq.types.UInteger;
-
-import java.util.Arrays;
-import java.util.List;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({"all", "unchecked", "rawtypes"})
-public class UserConfig extends TableImpl {
-
- private static final long serialVersionUID = -666438922;
-
- /**
- * The reference instance of texera_db.user_config
- */
- public static final UserConfig USER_CONFIG = new UserConfig();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return UserConfigRecord.class;
- }
-
- /**
- * The column