Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use /ps-attach command #11

Merged
merged 3 commits into from Jan 17, 2022
Merged

How to use /ps-attach command #11

merged 3 commits into from Jan 17, 2022

Conversation

jonico
Copy link
Owner

@jonico jonico commented Jan 17, 2022

  • adding info how to use /ps-attach command

* adding info how to use /ps-attach command
@jonico
Copy link
Owner Author

jonico commented Jan 17, 2022

/ps-attach https://app.planetscale.com/planetscale/shared-secrets-jonico/add-counter-column

@github-actions
Copy link

👋 jonico, attaching DB branch add-counter-column to Git branch ps-attach now ...

You can watch the progress and authorize access here.

@github-actions
Copy link

Ataching DR/DB branch failed for branch ps-attach 😢. View error logs.

@jonico
Copy link
Owner Author

jonico commented Jan 17, 2022

/ps-attach https://app.planetscale.com/planetscale/shared-secrets-jonico/deploy-requests/2

@github-actions
Copy link

👋 jonico, attaching deploy request https://app.planetscale.com/planetscale/shared-secrets-jonico/deploy-requests/2 to Git branch ps-attach now ...

You can watch the progress and authorize access here.

@github-actions
Copy link

Deploy request and DB branch attached successfully 🎉

📖 Calculated schema changes:

 CREATE TABLE `secrets` (
   `keyid` varchar(64) NOT NULL,
   `fingerprint` varchar(64) NOT NULL,
   `time` timestamp NULL DEFAULT NULL,
+  `counter` bigint NOT NULL DEFAULT '1',
   PRIMARY KEY (`keyid`,`fingerprint`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

@jonico
Copy link
Owner Author

jonico commented Jan 17, 2022

/ps-merge

@github-actions
Copy link

👋 jonico, merging schema changes associated with database branch add-counter-column now ...

You can watch the progress and authorize access here.

@github-actions
Copy link

Schema changes merged successfully 🎉

🚀 Schema changes applied

 CREATE TABLE `secrets` (
   `keyid` varchar(64) NOT NULL,
   `fingerprint` varchar(64) NOT NULL,
   `time` timestamp NULL DEFAULT NULL,
+  `counter` bigint NOT NULL DEFAULT '1',
   PRIMARY KEY (`keyid`,`fingerprint`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

@jonico jonico merged commit 965d3b3 into main Jan 17, 2022
@jonico jonico deleted the ps-attach branch January 17, 2022 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant