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

refactor!: reorganize structure #1006

Closed
wants to merge 6 commits into from

Conversation

Shinigami92
Copy link
Collaborator

No description provided.

@Shinigami92 Shinigami92 added breaking change Cannot be merged when next version is not a major release c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs p: 1-normal Nothing urgent labels Mar 5, 2024
@Shinigami92 Shinigami92 added this to the v7.0 milestone Mar 5, 2024
@Shinigami92 Shinigami92 self-assigned this Mar 5, 2024
@Shinigami92 Shinigami92 force-pushed the refactor/reorganize-structure branch 3 times, most recently from 89b60ca to 390d567 Compare March 7, 2024 08:31
Copy link

github-actions bot commented Mar 7, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 93.84% (🎯 90%)
⬆️ +0.16%
4619 / 4922
🟢 Statements 93.84% (🎯 90%)
⬆️ +0.16%
4619 / 4922
🟢 Functions 95% (🎯 90%)
🟰 ±0%
228 / 240
🟢 Branches 88.67% (🎯 85%)
🟰 ±0%
767 / 865
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Unchanged Files
src/db.ts 87.87% 88.46% 87.5% 87.87% 66-68, 97, 100-112, 152-154
src/index.ts 100% 100% 100% 100%
src/migration-builder.ts 97.38% 92.3% 87.5% 97.38% 330-334, 461-466, 490-491
src/migration.ts 78.26% 78.04% 58.33% 78.26% 65, 69, 72-80, 110-112, 117-153, 210-211, 236-239, 247-248, 265-268, 297-298
src/runner.ts 74.43% 58.18% 80% 74.43% 42, 69-70, 79-80, 84-91, 129-130, 169-172, 181-185, 198, 203-215, 234, 236-242, 245, 258, 270-283, 286-289, 299-300, 309-311, 320, 322-331, 343-350
src/sqlMigration.ts 92% 100% 80% 92% 47-50
src/types.ts 100% 100% 100% 100%
src/operations/PgLiteral.ts 86.66% 100% 50% 86.66% 13-14
src/operations/functions.ts 100% 100% 100% 100%
src/operations/indexes.ts 94.15% 91.22% 100% 94.15% 21, 31-34, 43, 72, 121-122
src/operations/operators.ts 98.34% 90.9% 100% 98.34% 147-148, 160-162
src/operations/other.ts 100% 100% 100% 100%
src/operations/policies.ts 100% 94.44% 100% 100%
src/operations/roles.ts 97.2% 77.27% 100% 97.2% 57, 63, 70, 77
src/operations/schemas.ts 100% 100% 100% 100%
src/operations/sequences.ts 92.42% 82.85% 100% 92.42% 32, 34-35, 40-41, 54-55, 60-61, 109
src/operations/tables.ts 89.89% 83.87% 96.66% 89.89% 64-65, 68-69, 120-124, 149, 153-154, 173-174, 199-200, 203-210, 213-214, 353-378, 417-421, 436, 446-447, 552, 561-569
src/operations/triggers.ts 92.66% 78.78% 100% 92.66% 59-60, 72-73, 76-77, 80-83, 124
src/operations/types.ts 100% 100% 100% 100%
src/operations/views.ts 100% 95.55% 100% 100%
src/operations/viewsMaterialized.ts 100% 97.77% 100% 100%
src/operations/domains/alterDomain.ts 100% 100% 100% 100%
src/operations/domains/createDomain.ts 100% 100% 100% 100%
src/operations/domains/dropDomain.ts 100% 100% 100% 100%
src/operations/domains/index.ts 100% 100% 100% 100%
src/operations/domains/renameDomain.ts 100% 100% 100% 100%
src/operations/domains/shared.ts 100% 100% 100% 100%
src/operations/extensions/createExtension.ts 100% 100% 100% 100%
src/operations/extensions/dropExtension.ts 100% 100% 100% 100%
src/operations/extensions/index.ts 100% 100% 100% 100%
src/operations/extensions/shared.ts 100% 100% 100% 100%
src/utils/StringIdGenerator.ts 100% 100% 100% 100%
src/utils/createSchemalize.ts 100% 100% 100% 100%
src/utils/createTransformer.ts 100% 100% 100% 100%
src/utils/escapeValue.ts 100% 100% 100% 100%
src/utils/formatLines.ts 100% 100% 100% 100%
src/utils/formatParams.ts 100% 100% 100% 100%
src/utils/getMigrationTableSchema.ts 100% 100% 100% 100%
src/utils/getSchemas.ts 100% 100% 100% 100%
src/utils/identity.ts 100% 100% 100% 100%
src/utils/index.ts 100% 100% 100% 100%
src/utils/intersection.ts 100% 100% 100% 100%
src/utils/isPgLiteral.ts 100% 100% 100% 100%
src/utils/makeComment.ts 100% 100% 100% 100%
src/utils/quote.ts 100% 100% 100% 100%
src/utils/types.ts 100% 100% 100% 100%
Generated in workflow #387

@Shinigami92 Shinigami92 force-pushed the refactor/reorganize-structure branch from 390d567 to 97b379d Compare March 7, 2024 09:15
@Shinigami92 Shinigami92 force-pushed the refactor/reorganize-structure branch from ab3ff33 to 36ae17b Compare April 8, 2024 19:19
@Shinigami92
Copy link
Collaborator Author

This will be split into smaller PRs

@Shinigami92 Shinigami92 closed this Apr 8, 2024
@Shinigami92 Shinigami92 deleted the refactor/reorganize-structure branch April 8, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Cannot be merged when next version is not a major release c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs p: 1-normal Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant