chore: formatting issues
This commit is contained in:
parent
c712836629
commit
7dbbbddd5a
13 changed files with 8778 additions and 9300 deletions
|
|
@ -25,7 +25,7 @@ import { cn } from "~/client/lib/utils";
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/client/components/ui/tabs";
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/client/components/ui/tabs";
|
||||||
import { RepositoryInfoTabContent } from "../tabs/info";
|
import { RepositoryInfoTabContent } from "../tabs/info";
|
||||||
import { RepositorySnapshotsTabContent } from "../tabs/snapshots";
|
import { RepositorySnapshotsTabContent } from "../tabs/snapshots";
|
||||||
import { Loader2, Stethoscope, Trash2, X } from "lucide-react";
|
import { Loader2, Stethoscope, Trash2 } from "lucide-react";
|
||||||
|
|
||||||
export const handle = {
|
export const handle = {
|
||||||
breadcrumb: (match: Route.MetaArgs) => [
|
breadcrumb: (match: Route.MetaArgs) => [
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -204,12 +193,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -217,22 +202,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -352,12 +330,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -365,12 +339,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -438,9 +408,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -537,16 +505,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -594,12 +558,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -660,9 +620,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -760,16 +718,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -204,12 +193,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -217,22 +202,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -356,9 +334,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -367,12 +343,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -380,12 +352,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -453,9 +421,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -552,16 +518,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -609,12 +571,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -675,9 +633,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -775,16 +731,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -204,12 +193,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -217,22 +202,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -364,9 +342,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -375,12 +351,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -388,12 +360,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -461,9 +429,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -560,16 +526,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -617,12 +579,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -683,9 +641,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -783,16 +739,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -372,9 +350,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -383,12 +359,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -396,12 +368,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -469,9 +437,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -568,16 +534,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -625,12 +587,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -691,9 +649,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -791,16 +747,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -380,9 +358,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -391,12 +367,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -404,12 +376,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -477,9 +445,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -576,16 +542,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -633,12 +595,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -699,9 +657,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -799,16 +755,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -388,9 +366,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -399,12 +375,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -412,12 +384,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -485,9 +453,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -584,16 +550,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -641,12 +603,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -707,9 +665,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -807,16 +763,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -120,26 +117,18 @@
|
||||||
"backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk": {
|
"backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
|
||||||
],
|
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedule_mirrors_table_repository_id_repositories_table_id_fk": {
|
"backup_schedule_mirrors_table_repository_id_repositories_table_id_fk": {
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -211,36 +200,25 @@
|
||||||
"backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk": {
|
"backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk": {
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
|
||||||
],
|
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk": {
|
"backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk": {
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -388,9 +366,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -398,26 +374,18 @@
|
||||||
"backup_schedules_table_volume_id_volumes_table_id_fk": {
|
"backup_schedules_table_volume_id_volumes_table_id_fk": {
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
|
||||||
],
|
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedules_table_repository_id_repositories_table_id_fk": {
|
"backup_schedules_table_repository_id_repositories_table_id_fk": {
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -485,9 +453,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -584,16 +550,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"repositories_table_name_unique": {
|
"repositories_table_name_unique": {
|
||||||
"name": "repositories_table_name_unique",
|
"name": "repositories_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -640,13 +602,9 @@
|
||||||
"sessions_table_user_id_users_table_id_fk": {
|
"sessions_table_user_id_users_table_id_fk": {
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
|
||||||
],
|
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -707,9 +665,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -807,16 +763,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -388,9 +366,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -399,12 +375,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -412,12 +384,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -485,9 +453,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -584,9 +550,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -634,12 +598,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -700,9 +660,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -800,16 +758,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -120,26 +117,18 @@
|
||||||
"backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk": {
|
"backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
|
||||||
],
|
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedule_mirrors_table_repository_id_repositories_table_id_fk": {
|
"backup_schedule_mirrors_table_repository_id_repositories_table_id_fk": {
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -211,36 +200,25 @@
|
||||||
"backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk": {
|
"backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk": {
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
|
||||||
],
|
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk": {
|
"backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk": {
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -388,9 +366,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -398,26 +374,18 @@
|
||||||
"backup_schedules_table_volume_id_volumes_table_id_fk": {
|
"backup_schedules_table_volume_id_volumes_table_id_fk": {
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
|
||||||
],
|
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
},
|
},
|
||||||
"backup_schedules_table_repository_id_repositories_table_id_fk": {
|
"backup_schedules_table_repository_id_repositories_table_id_fk": {
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -485,9 +453,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -584,9 +550,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -633,13 +597,9 @@
|
||||||
"sessions_table_user_id_users_table_id_fk": {
|
"sessions_table_user_id_users_table_id_fk": {
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
|
||||||
],
|
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsTo": [
|
"columnsTo": ["id"],
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onUpdate": "no action",
|
"onUpdate": "no action",
|
||||||
"onDelete": "cascade"
|
"onDelete": "cascade"
|
||||||
}
|
}
|
||||||
|
|
@ -700,9 +660,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -800,16 +758,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -395,16 +373,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_short_id_unique": {
|
"backup_schedules_table_short_id_unique": {
|
||||||
"name": "backup_schedules_table_short_id_unique",
|
"name": "backup_schedules_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -413,12 +387,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -426,12 +396,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -499,9 +465,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -598,9 +562,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -648,12 +610,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -714,9 +672,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -814,16 +770,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
"backup_schedule_mirrors_table_schedule_id_repository_id_unique": {
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
"name": "backup_schedule_mirrors_table_schedule_id_repository_id_unique",
|
||||||
"columns": [
|
"columns": ["schedule_id", "repository_id"],
|
||||||
"schedule_id",
|
|
||||||
"repository_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -121,12 +118,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_mirrors_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -134,12 +127,8 @@
|
||||||
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedule_mirrors_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_mirrors_table",
|
"tableFrom": "backup_schedule_mirrors_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -212,12 +201,8 @@
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
"name": "backup_schedule_notifications_table_schedule_id_backup_schedules_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "backup_schedules_table",
|
"tableTo": "backup_schedules_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["schedule_id"],
|
||||||
"schedule_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -225,22 +210,15 @@
|
||||||
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
"name": "backup_schedule_notifications_table_destination_id_notification_destinations_table_id_fk",
|
||||||
"tableFrom": "backup_schedule_notifications_table",
|
"tableFrom": "backup_schedule_notifications_table",
|
||||||
"tableTo": "notification_destinations_table",
|
"tableTo": "notification_destinations_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["destination_id"],
|
||||||
"destination_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compositePrimaryKeys": {
|
"compositePrimaryKeys": {
|
||||||
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
"backup_schedule_notifications_table_schedule_id_destination_id_pk": {
|
||||||
"columns": [
|
"columns": ["schedule_id", "destination_id"],
|
||||||
"schedule_id",
|
|
||||||
"destination_id"
|
|
||||||
],
|
|
||||||
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
"name": "backup_schedule_notifications_table_schedule_id_destination_id_pk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -395,16 +373,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"backup_schedules_table_short_id_unique": {
|
"backup_schedules_table_short_id_unique": {
|
||||||
"name": "backup_schedules_table_short_id_unique",
|
"name": "backup_schedules_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"backup_schedules_table_name_unique": {
|
"backup_schedules_table_name_unique": {
|
||||||
"name": "backup_schedules_table_name_unique",
|
"name": "backup_schedules_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -413,12 +387,8 @@
|
||||||
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
"name": "backup_schedules_table_volume_id_volumes_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "volumes_table",
|
"tableTo": "volumes_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["volume_id"],
|
||||||
"volume_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
|
@ -426,12 +396,8 @@
|
||||||
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
"name": "backup_schedules_table_repository_id_repositories_table_id_fk",
|
||||||
"tableFrom": "backup_schedules_table",
|
"tableFrom": "backup_schedules_table",
|
||||||
"tableTo": "repositories_table",
|
"tableTo": "repositories_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["repository_id"],
|
||||||
"repository_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -499,9 +465,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"notification_destinations_table_name_unique": {
|
"notification_destinations_table_name_unique": {
|
||||||
"name": "notification_destinations_table_name_unique",
|
"name": "notification_destinations_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -598,9 +562,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"repositories_table_short_id_unique": {
|
"repositories_table_short_id_unique": {
|
||||||
"name": "repositories_table_short_id_unique",
|
"name": "repositories_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -648,12 +610,8 @@
|
||||||
"name": "sessions_table_user_id_users_table_id_fk",
|
"name": "sessions_table_user_id_users_table_id_fk",
|
||||||
"tableFrom": "sessions_table",
|
"tableFrom": "sessions_table",
|
||||||
"tableTo": "users_table",
|
"tableTo": "users_table",
|
||||||
"columnsFrom": [
|
"columnsFrom": ["user_id"],
|
||||||
"user_id"
|
"columnsTo": ["id"],
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
}
|
}
|
||||||
|
|
@ -714,9 +672,7 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"users_table_username_unique": {
|
"users_table_username_unique": {
|
||||||
"name": "users_table_username_unique",
|
"name": "users_table_username_unique",
|
||||||
"columns": [
|
"columns": ["username"],
|
||||||
"username"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -814,16 +770,12 @@
|
||||||
"indexes": {
|
"indexes": {
|
||||||
"volumes_table_short_id_unique": {
|
"volumes_table_short_id_unique": {
|
||||||
"name": "volumes_table_short_id_unique",
|
"name": "volumes_table_short_id_unique",
|
||||||
"columns": [
|
"columns": ["short_id"],
|
||||||
"short_id"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
},
|
},
|
||||||
"volumes_table_name_unique": {
|
"volumes_table_name_unique": {
|
||||||
"name": "volumes_table_name_unique",
|
"name": "volumes_table_name_unique",
|
||||||
"columns": [
|
"columns": ["name"],
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"isUnique": true
|
"isUnique": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue