Skip to content

Commit

Permalink
chore: add new step for pg_upgrade process (#76)
Browse files Browse the repository at this point in the history
* chore: add step for post physical backup

* chore: bump version

* fix: remove stray changes
  • Loading branch information
dragarcia authored Jun 26, 2024
1 parent b7764b0 commit 452a607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@supabase/shared-types",
"version": "0.1.67",
"version": "0.1.68",
"description": "Shared Types for Supabase",
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
Expand Down
3 changes: 2 additions & 1 deletion src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export enum DatabaseUpgradeProgress {
DetachedVolumeFromOriginalInstance = '7_detached_volume_from_original_instance',
AttachedVolumeToUpgradedInstance = '8_attached_volume_to_upgraded_instance',
CompletedUpgrade = '9_completed_upgrade',
CompletedPostPhysicalBackup = '10_completed_post_physical_backup',
}

export enum DatabaseUpgradeError {
Expand All @@ -103,6 +104,7 @@ export enum DatabaseUpgradeError {
VolumeDetachchmentFromOriginalInstanceFailed = '6_volume_detachchment_from_original_instance_failed',
VolumeAttachmentToUpgradedInstanceFailed = '7_volume_attachment_to_upgraded_instance_failed',
UpgradeCompletionFailed = '8_upgrade_completion_failed',
PostPhysicalBackupFailed = '9_post_physical_backup_failed',
}

export enum ReadReplicaSetupStatus {
Expand All @@ -128,7 +130,6 @@ export enum ReadReplicaSetupError {
ReplayWalArchivesFailed = '4_replay_wal_archives_failed',
CompleteReadReplicaSetupFailed = '5_complete_read_replica_setup_failed',
}

export interface RestartServicePayload {
project_id: number
service_names: ServiceNames[]
Expand Down

0 comments on commit 452a607

Please sign in to comment.