Skip to content

Conversation

@rubensayshi
Copy link
Member

No description provided.

a8m and others added 30 commits December 26, 2022 14:48
* feat: Add column comment in SQL DDL, using EntSQL annotations to achieve it.

* Update annotation.go

* fix lint

* Add table primary key column comment

* entsql.Comment(string)  is unnecessary

* entc/gen: minor changes to entsql.WithComments + add tests

Co-authored-by: chenghonour <wantto@outlook.com>
Co-authored-by: Shani Cohen <shanicohen@Shanis-MacBook-Air.local>
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This will be fixed also in Atlas, but having this extra safety here feels safer
* entc/gen: make interceptor works for eager loading m2m edges

* entc/gen: make interceptor works for eager loading m2m edges

* entc/gen: fix indent

* entc/gen: go generate example
Also, fixed a bug in DeleteOne.Exec where it was skipping NotFoundError
masseelch and others added 27 commits May 21, 2024 08:58
After ent#584 goimports does not need to resolve packages, and running concurrent fmt is faster than serialized one
…nt#4151)

Co-authored-by: Omer Tsach <omertsach@MacBook-Pro.local>
* go: update go to latest

* chore: fix lint
@github-actions
Copy link

github-actions bot commented Jan 3, 2025

Atlas Lint Report

Analyzed examples/migration/ent/migrate/migrations

StatusStepResultDiagnostics
Migration Integrity CheckFile atlas.sum is valid
Detect New Migration FilesFound 14 new migration files (from 14 total)
Replay Migration FilesLoaded 14 changes on dev database
Analyze 20221114082343_create_users.sql0 reports were found in analysis
Analyze 20221114090322_add_age.sql1 reports were found in analysisAdding a non-nullable "double" column "age" on table "users" without a default value implicitly sets existing rows with 0 (MY101)
Analyze 20221114101516_add_name.sql1 reports were found in analysisAdding a non-nullable "varchar" column "name" on table "users" without a default value implicitly sets existing rows with "" (MY101)
Analyze 20221126173531_add_user_tags.sql0 reports were found in analysis
Analyze 20221126185750_backfill_user_tags.sql0 reports were found in analysis
Analyze 20230101214930_default_values.sql0 reports were found in analysis
Analyze 20231231083716_add_card_number.sql1 reports were found in analysisAdding a non-nullable "varchar" column "number" on table "cards" without a default value implicitly sets existing rows with "" (MY101)
Analyze 20231231091550_add_pet_name.sql1 reports were found in analysisAdding a non-nullable "varchar" column "name" on table "pets" without a default value implicitly sets existing rows with "" (MY101)

Adding a unique index "pet_name_owner_id" on table "pets" might fail in case column "owner_id" contains duplicate entries (MF101)

Analyze 20231231101555_add_payment.sql0 reports were found in analysis
Analyze 20231231102849_add_currency.sql1 reports were found in analysisInserting enum values not at the end to column "currency" in table "payments" requires a table copy (MY112)
Analyze 20231231120006_add_session.sql2 reports were found in analysisdestructive changes detected

Dropping non-virtual column "name" (DS103)

Adding a non-nullable "varchar" column "first_name" on table "users" without a default value implicitly sets existing rows with "" (MY101)

Adding a non-nullable "varchar" column "last_name" on table "users" without a default value implicitly sets existing rows with "" (MY101)

Analyze 20231231123114_hash_card.sql2 reports were found in analysisAdding a non-nullable "varchar" column "cvv_hash" on table "cards" without a default value implicitly sets existing rows with "" (MY101)

Adding a non-nullable "double" column "weight" on table "pets" without a default value implicitly sets existing rows with 0 (MY101)

Adding a non-nullable "double" column "age" on table "pets" without a default value implicitly sets existing rows with 0 (MY101)

Renaming column "number" to "number_hash" (BC102)

Analyze 20240229200634_add_card_type.sql0 reports were found in analysis
Analyze 20240317101809_add_payment_vnd.sql1 reports were found in analysisInserting enum values not at the end to column "currency" in table "payments" requires a table copy (MY112)
Could not report to Atlas Cloud: Invalid Token


Migrations automatically reviewed by Atlas

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.