Skip to content

refactor: prisma platform tables use pascal case#14263

Merged
emrysal merged 1 commit intomainfrom
platform_prisma_pascal_case
Mar 29, 2024
Merged

refactor: prisma platform tables use pascal case#14263
emrysal merged 1 commit intomainfrom
platform_prisma_pascal_case

Conversation

@supalarry
Copy link
Copy Markdown
Contributor

Platform tables and their properties were mapped to snake_case in database, however, the standard is PascalCase.

This migration removes @@Map from tables and @Map from properties.

@graphite-app graphite-app Bot requested a review from a team March 29, 2024 08:53
@supalarry supalarry requested review from a team and removed request for a team March 29, 2024 08:53
@github-actions github-actions Bot added the ❗️ migrations contains migration files label Mar 29, 2024
@github-actions
Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels Mar 29, 2024
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 29, 2024

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

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 29, 2024 8:54am

Copy link
Copy Markdown
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Mar 29, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (03/29/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Mar 29, 2024

Current Playwright Test Results Summary

✅ 292 Passing - ⚠️ 29 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 03/29/2024 09:09:33am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 7e39155

Started: 03/29/2024 09:04:52am UTC

⚠️ Flakes

📄   apps/web/playwright/locale.e2e.ts • 13 Flakes

Top 1 Common Error Messages

null

13 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
unauthorized user sees correct translations (de) should use correct translations and html attributes
Retry 1Initial Attempt
-5.53% (-11) -11 / 199 runs
failed over last 7 days
5.53% (11) 11 / 199 runs
flaked over last 7 days
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 1Initial Attempt
-5.53% (-11) -11 / 199 runs
failed over last 7 days
5.53% (11) 11 / 199 runs
flaked over last 7 days
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 1Initial Attempt
-5.03% (-10) -10 / 199 runs
failed over last 7 days
5.53% (11) 11 / 199 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 1Initial Attempt
-5.56% (-11) -11 / 198 runs
failed over last 7 days
5.56% (11) 11 / 198 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 1Initial Attempt
-5.56% (-11) -11 / 198 runs
failed over last 7 days
5.56% (11) 11 / 198 runs
flaked over last 7 days
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 1Initial Attempt
-5.56% (-11) -11 / 198 runs
failed over last 7 days
5.56% (11) 11 / 198 runs
flaked over last 7 days
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 1Initial Attempt
-5.05% (-10) -10 / 198 runs
failed over last 7 days
5.56% (11) 11 / 198 runs
flaked over last 7 days
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 1Initial Attempt
-5.08% (-10) -10 / 197 runs
failed over last 7 days
5.58% (11) 11 / 197 runs
flaked over last 7 days
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 1Initial Attempt
-5.61% (-11) -11 / 196 runs
failed over last 7 days
5.61% (11) 11 / 196 runs
flaked over last 7 days
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 1Initial Attempt
-5.64% (-11) -11 / 195 runs
failed over last 7 days
5.64% (11) 11 / 195 runs
flaked over last 7 days
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 1Initial Attempt
-5.64% (-11) -11 / 195 runs
failed over last 7 days
5.64% (11) 11 / 195 runs
flaked over last 7 days
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 1Initial Attempt
-3.08% (-6) -6 / 195 runs
failed over last 7 days
5.64% (11) 11 / 195 runs
flaked over last 7 days
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 1Initial Attempt
-3.17% (-6) -6 / 189 runs
failed over last 7 days
5.82% (11) 11 / 189 runs
flaked over last 7 days

📄   apps/web/playwright/login.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1Initial Attempt
0.51% (1) 1 / 197 run
failed over last 7 days
29.44% (58) 58 / 197 runs
flaked over last 7 days

📄   apps/web/playwright/booking-pages.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
pro user -- legacy Time slots should be reserved when selected
Retry 1Initial Attempt
0% (0) 0 / 201 runs
failed over last 7 days
7.96% (16) 16 / 201 runs
flaked over last 7 days

📄   apps/web/playwright/organization/organization-invitation.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Organization Email matching orgAutoAcceptEmail and a Verified Organization nonexisting user is invited to Org
Retry 1Initial Attempt
5.37% (11) 11 / 205 runs
failed over last 7 days
6.83% (14) 14 / 205 runs
flaked over last 7 days
Organization Email matching orgAutoAcceptEmail and a Verified Organization nonexisting user is invited to a team inside organization
Retry 2Retry 1Initial Attempt
4.06% (8) 8 / 197 runs
failed over last 7 days
8.12% (16) 16 / 197 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 1Initial Attempt
4.23% (8) 8 / 189 runs
failed over last 7 days
32.80% (62) 62 / 189 runs
flaked over last 7 days

📄   apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Can book a paid booking
Retry 1Initial Attempt
1.96% (4) 4 / 204 runs
failed over last 7 days
40.69% (83) 83 / 204 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Preview Preview - embed-core should load
Retry 1Initial Attempt
0% (0) 0 / 202 runs
failed over last 7 days
23.27% (47) 47 / 202 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 8 Flakes

Top 1 Common Error Messages

null

8 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
1% (2) 2 / 201 runs
failed over last 7 days
59.20% (119) 119 / 201 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-148.75% (-119) -119 / 80 runs
failed over last 7 days
148.75% (119) 119 / 80 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when configured with 'auto' theme using Embed API
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-152.56% (-119) -119 / 78 runs
failed over last 7 days
152.56% (119) 119 / 78 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1Initial Attempt
0.99% (2) 2 / 202 runs
failed over last 7 days
45.05% (91) 91 / 202 runs
flaked over last 7 days

View Detailed Build Results


@emrysal emrysal merged commit 2f8fa20 into main Mar 29, 2024
@emrysal emrysal deleted the platform_prisma_pascal_case branch March 29, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only ❗️ migrations contains migration files platform Anything related to our platform plan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants