Ionia-Devs / chameleon

https://chameleon-sandy.vercel.app
1 stars 1 forks source link

Schema Changes #82

Closed DinDin985 closed 9 months ago

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chameleon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2024 2:45am
railway-app[bot] commented 9 months ago

This PR is being deployed to Railway 🚅

chameleon: ◻️ REMOVED

github-actions[bot] commented 9 months ago

🌟 Important Action Required! 🌟

FINAL STEPS:

To finalize the changes to the schema and successfully merge them to PlanetScale, your action is needed. Please review the steps below:

Step Action
1 Review the proposed schema changes for accuracy.
2 Test the changes locally to ensure they work as expected.
3 Comment /ps-merge on this PR to trigger the merge process.
4 Await the automated merge process to apply your changes.

This will trigger the merge process and apply your changes to PlanetScale. 🚀

✨✨✨✨✨✨✨✨✨✨

  /ps-merge

✨✨✨✨✨✨✨✨✨✨

Balance8 commented 9 months ago

/ps-create

github-actions[bot] commented 9 months ago

👋 Balance8, creating DB branch 65-set-up-backend-for-messages-frontend for Git branch 65-set-up-backend-for-messages-frontend now ...

You can watch the progress and authorize access here.

github-actions[bot] commented 9 months ago

Database branch and deploy request created successfully :tada:

:computer: pscale CLI commands for local access ``` pscale shell "chameleon" "65-set-up-backend-for-messages-frontend" --org "chameleon-la" pscale connect "chameleon" "65-set-up-backend-for-messages-frontend" --org "chameleon-la" ```
📖 Calculated schema changes: ``` +CREATE TABLE `Conversation` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(191) NOT NULL, + `createdAt` datetime(3) NOT NULL DEFAULT current_timestamp(3), + `updatedAt` datetime(3) NOT NULL, + `userId` varchar(191) NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `Conversation_userId_key` (`userId`) +) ENGINE InnoDB, + CHARSET utf8mb4, + COLLATE utf8mb4_unicode_ci; +CREATE TABLE `Message` ( + `id` int NOT NULL AUTO_INCREMENT, + `text` varchar(191) NOT NULL, + `createdAt` datetime(3) NOT NULL DEFAULT current_timestamp(3), + `updatedAt` datetime(3) NOT NULL, + `userId` varchar(191) NOT NULL, + `conversationId` int NOT NULL, + PRIMARY KEY (`id`) +) ENGINE InnoDB, + CHARSET utf8mb4, + COLLATE utf8mb4_unicode_ci; ```
Balance8 commented 9 months ago

/ps-delete

github-actions[bot] commented 9 months ago

👋 Balance8, deleting DB branch associated with Git branch 65-set-up-backend-for-messages-frontend now ...

You can watch the progress and authorize access here.

github-actions[bot] commented 9 months ago

Deleted database branch successfully :tada: