diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a77e70885..c8b93c902 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,5 +13,5 @@ jobs: - uses: ncipollo/release-action@v1 with: body: - Please refer to [CHANGELOG.md](https://github.com/uptrace/bun/blob/master/CHANGELOG.md) - for details + Please refer to + [CHANGELOG.md](https://github.com/carautenbach/bun/blob/master/CHANGELOG.md) for details diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb01565a..13981fc53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,168 +1,205 @@ -## [1.1.10](https://github.com/uptrace/bun/compare/v1.1.9...v1.1.10) (2023-01-16) - +## [1.1.10](https://github.com/carautenbach/bun/compare/v1.1.9...v1.1.10) (2023-01-16) ### Bug Fixes -* allow QueryEvent to better detect operations in raw queries ([8e44735](https://github.com/uptrace/bun/commit/8e4473538364bae6562055d35e94c3e9c0b77691)) -* append default VARCHAR length instead of hardcoding it in the type definition ([e5079c7](https://github.com/uptrace/bun/commit/e5079c70343ba8c8b410aed23ac1d1ae5a2c9ff6)) -* prevent panic when use pg array with custom database type ([67e4412](https://github.com/uptrace/bun/commit/67e4412a972a9ed5f3a1d07c66957beedbc8a8a3)) -* properly return sql.ErrNoRows when scanning []byte ([996fead](https://github.com/uptrace/bun/commit/996fead2595fbcaff4878b77befe6709a54b3a4d)) - +- allow QueryEvent to better detect operations in raw queries + ([8e44735](https://github.com/carautenbach/bun/commit/8e4473538364bae6562055d35e94c3e9c0b77691)) +- append default VARCHAR length instead of hardcoding it in the type definition + ([e5079c7](https://github.com/carautenbach/bun/commit/e5079c70343ba8c8b410aed23ac1d1ae5a2c9ff6)) +- prevent panic when use pg array with custom database type + ([67e4412](https://github.com/carautenbach/bun/commit/67e4412a972a9ed5f3a1d07c66957beedbc8a8a3)) +- properly return sql.ErrNoRows when scanning []byte + ([996fead](https://github.com/carautenbach/bun/commit/996fead2595fbcaff4878b77befe6709a54b3a4d)) ### Features -* mssql output support for update or delete query ([#718](https://github.com/uptrace/bun/issues/718)) ([08876b4](https://github.com/uptrace/bun/commit/08876b4d420e761cbfa658aa6bb89b3f7c62c240)) -* add Err method to query builder ([c722c90](https://github.com/uptrace/bun/commit/c722c90f3dce2642ca4f4c2ab3f9a35cd496b557)) -* add support for time.Time array in Postgres ([3dd6f3b](https://github.com/uptrace/bun/commit/3dd6f3b2ac1bfbcda08240dc1676647b61715a9c)) -* mssql and pg merge query ([#723](https://github.com/uptrace/bun/issues/723)) ([deea764](https://github.com/uptrace/bun/commit/deea764d9380b16aad34228aa32717d10f2a4bab)) -* setError on attempt to set non-positive .Varchar() ([3335e0b](https://github.com/uptrace/bun/commit/3335e0b9d6d3f424145e1f715223a0fffe773d9a)) - +- mssql output support for update or delete query + ([#718](https://github.com/carautenbach/bun/issues/718)) + ([08876b4](https://github.com/carautenbach/bun/commit/08876b4d420e761cbfa658aa6bb89b3f7c62c240)) +- add Err method to query builder + ([c722c90](https://github.com/carautenbach/bun/commit/c722c90f3dce2642ca4f4c2ab3f9a35cd496b557)) +- add support for time.Time array in Postgres + ([3dd6f3b](https://github.com/carautenbach/bun/commit/3dd6f3b2ac1bfbcda08240dc1676647b61715a9c)) +- mssql and pg merge query ([#723](https://github.com/carautenbach/bun/issues/723)) + ([deea764](https://github.com/carautenbach/bun/commit/deea764d9380b16aad34228aa32717d10f2a4bab)) +- setError on attempt to set non-positive .Varchar() + ([3335e0b](https://github.com/carautenbach/bun/commit/3335e0b9d6d3f424145e1f715223a0fffe773d9a)) ### Reverts -* go 1.18 ([67a4488](https://github.com/uptrace/bun/commit/67a448897eaaf1ebc54d629dfd3b2509b35da352)) - - - -## [1.1.9](https://github.com/uptrace/bun/compare/v1.1.8...v1.1.9) (2022-11-23) +- go 1.18 + ([67a4488](https://github.com/carautenbach/bun/commit/67a448897eaaf1ebc54d629dfd3b2509b35da352)) +## [1.1.9](https://github.com/carautenbach/bun/compare/v1.1.8...v1.1.9) (2022-11-23) ### Bug Fixes -* addng dialect override for append-bool ([#695](https://github.com/uptrace/bun/issues/695)) ([338f2f0](https://github.com/uptrace/bun/commit/338f2f04105ad89e64530db86aeb387e2ad4789e)) -* don't call hooks twice for whereExists ([9057857](https://github.com/uptrace/bun/commit/90578578e717f248e4b6eb114c5b495fd8d4ed41)) -* don't lock migrations when running Migrate and Rollback ([69a7354](https://github.com/uptrace/bun/commit/69a7354d987ff2ed5338c9ef5f4ce320724299ab)) -* **query:** make WhereDeleted compatible with ForceDelete ([299c3fd](https://github.com/uptrace/bun/commit/299c3fd57866aaecd127a8f219c95332898475db)), closes [#673](https://github.com/uptrace/bun/issues/673) -* relation join soft delete SQL generate ([a98f4e9](https://github.com/uptrace/bun/commit/a98f4e9f2bbdbc2b81cd13aa228a1a91eb905ba2)) - +- addng dialect override for append-bool ([#695](https://github.com/carautenbach/bun/issues/695)) + ([338f2f0](https://github.com/carautenbach/bun/commit/338f2f04105ad89e64530db86aeb387e2ad4789e)) +- don't call hooks twice for whereExists + ([9057857](https://github.com/carautenbach/bun/commit/90578578e717f248e4b6eb114c5b495fd8d4ed41)) +- don't lock migrations when running Migrate and Rollback + ([69a7354](https://github.com/carautenbach/bun/commit/69a7354d987ff2ed5338c9ef5f4ce320724299ab)) +- **query:** make WhereDeleted compatible with ForceDelete + ([299c3fd](https://github.com/carautenbach/bun/commit/299c3fd57866aaecd127a8f219c95332898475db)), + closes [#673](https://github.com/carautenbach/bun/issues/673) +- relation join soft delete SQL generate + ([a98f4e9](https://github.com/carautenbach/bun/commit/a98f4e9f2bbdbc2b81cd13aa228a1a91eb905ba2)) ### Features -* add migrate.Exec ([d368bbe](https://github.com/uptrace/bun/commit/d368bbe52bb1ee3dabf0aada190bf967eec10255)) -* **update:** "skipupdate" while bulk ([1a32b2f](https://github.com/uptrace/bun/commit/1a32b2ffbd5bc9a8d8b5978dd0f16c9fb79242ee)) -* **zerolog:** added zerolog hook ([9d2267d](https://github.com/uptrace/bun/commit/9d2267d414b47164ab6ceada55bf311ad548a6b0)) - - - -## [1.1.8](https://github.com/uptrace/bun/compare/v1.1.7...v1.1.8) (2022-08-29) +- add migrate.Exec + ([d368bbe](https://github.com/carautenbach/bun/commit/d368bbe52bb1ee3dabf0aada190bf967eec10255)) +- **update:** "skipupdate" while bulk + ([1a32b2f](https://github.com/carautenbach/bun/commit/1a32b2ffbd5bc9a8d8b5978dd0f16c9fb79242ee)) +- **zerolog:** added zerolog hook + ([9d2267d](https://github.com/carautenbach/bun/commit/9d2267d414b47164ab6ceada55bf311ad548a6b0)) +## [1.1.8](https://github.com/carautenbach/bun/compare/v1.1.7...v1.1.8) (2022-08-29) ### Bug Fixes -* **bunotel:** handle option attributes ([#656](https://github.com/uptrace/bun/issues/656)) ([9f1e0bd](https://github.com/uptrace/bun/commit/9f1e0bd19fc0300f12996b3e6595f093024e06b6)) -* driver.Valuer returns itself causes stackoverflow ([c9f51d3](https://github.com/uptrace/bun/commit/c9f51d3e2dabed0c29c26a4221abbc426a7206f3)), closes [#657](https://github.com/uptrace/bun/issues/657) -* **pgdriver:** return FATAL and PANIC errors immediately ([4595e38](https://github.com/uptrace/bun/commit/4595e385d3706116e47bf9dc295186ec7a2ab0f9)) -* quote m2m table name fixes [#649](https://github.com/uptrace/bun/issues/649) ([61a634e](https://github.com/uptrace/bun/commit/61a634e4cd5c18df4b75f756d4b0f06ea94bc3c8)) -* support multi-level embed column ([177ec4c](https://github.com/uptrace/bun/commit/177ec4c6e04f92957614ad4724bc82c422649a4b)), closes [#643](https://github.com/uptrace/bun/issues/643) - +- **bunotel:** handle option attributes ([#656](https://github.com/carautenbach/bun/issues/656)) + ([9f1e0bd](https://github.com/carautenbach/bun/commit/9f1e0bd19fc0300f12996b3e6595f093024e06b6)) +- driver.Valuer returns itself causes stackoverflow + ([c9f51d3](https://github.com/carautenbach/bun/commit/c9f51d3e2dabed0c29c26a4221abbc426a7206f3)), + closes [#657](https://github.com/carautenbach/bun/issues/657) +- **pgdriver:** return FATAL and PANIC errors immediately + ([4595e38](https://github.com/carautenbach/bun/commit/4595e385d3706116e47bf9dc295186ec7a2ab0f9)) +- quote m2m table name fixes [#649](https://github.com/carautenbach/bun/issues/649) + ([61a634e](https://github.com/carautenbach/bun/commit/61a634e4cd5c18df4b75f756d4b0f06ea94bc3c8)) +- support multi-level embed column + ([177ec4c](https://github.com/carautenbach/bun/commit/177ec4c6e04f92957614ad4724bc82c422649a4b)), + closes [#643](https://github.com/carautenbach/bun/issues/643) ### Features -* conditions not supporting composite in ([e5d78d4](https://github.com/uptrace/bun/commit/e5d78d464b94b78438cf275b4c35f713d129961d)) -* **idb:** support raw query ([be4e688](https://github.com/uptrace/bun/commit/be4e6886ad94b4b6ca42f24f73d79a15b1ac3188)) -* **migrate:** add MissingMigrations ([42567d0](https://github.com/uptrace/bun/commit/42567d052280f2c412d4796df7178915e537e6d9)) -* **pgdriver:** implement database/sql/driver.SessionResetter ([bda298a](https://github.com/uptrace/bun/commit/bda298ac66305e5b00ba67d72d3973625930c6b9)) -* **pgdriver:** provide access to the underlying net.Conn ([d07ea0e](https://github.com/uptrace/bun/commit/d07ea0ed1541225b5f08e59a4c87383811f7f051)) - - - -## [1.1.7](https://github.com/uptrace/bun/compare/v1.1.6...v1.1.7) (2022-07-29) +- conditions not supporting composite in + ([e5d78d4](https://github.com/carautenbach/bun/commit/e5d78d464b94b78438cf275b4c35f713d129961d)) +- **idb:** support raw query + ([be4e688](https://github.com/carautenbach/bun/commit/be4e6886ad94b4b6ca42f24f73d79a15b1ac3188)) +- **migrate:** add MissingMigrations + ([42567d0](https://github.com/carautenbach/bun/commit/42567d052280f2c412d4796df7178915e537e6d9)) +- **pgdriver:** implement database/sql/driver.SessionResetter + ([bda298a](https://github.com/carautenbach/bun/commit/bda298ac66305e5b00ba67d72d3973625930c6b9)) +- **pgdriver:** provide access to the underlying net.Conn + ([d07ea0e](https://github.com/carautenbach/bun/commit/d07ea0ed1541225b5f08e59a4c87383811f7f051)) +## [1.1.7](https://github.com/carautenbach/bun/compare/v1.1.6...v1.1.7) (2022-07-29) ### Bug Fixes -* change ScanAndCount without a limit to select all rows ([de5c570](https://github.com/uptrace/bun/commit/de5c5704166563aea41a82f7863f2db88ff108e2)) - - - -## [1.1.6](https://github.com/uptrace/bun/compare/v1.1.5...v1.1.6) (2022-07-10) +- change ScanAndCount without a limit to select all rows + ([de5c570](https://github.com/carautenbach/bun/commit/de5c5704166563aea41a82f7863f2db88ff108e2)) +## [1.1.6](https://github.com/carautenbach/bun/compare/v1.1.5...v1.1.6) (2022-07-10) ### Bug Fixes -* bunotel add set attributes to query metrics ([dae82cc](https://github.com/uptrace/bun/commit/dae82cc0e3af49be1e474027b55c34364676985d)) -* **db.ScanRows:** ensure rows.Close is called ([9ffbc6a](https://github.com/uptrace/bun/commit/9ffbc6a46e24b908742b6973f33ef8e5b17cc12b)) -* merge apply ([3081849](https://github.com/uptrace/bun/commit/30818499eacddd3b1a3e749091ba6a1468125641)) -* **migrate:** close conn/tx on error ([7b168ea](https://github.com/uptrace/bun/commit/7b168eabfe0f844bcbf8dc89629d04c385b9f58c)) -* **migrate:** type Migration should be used as a value rather than a pointer ([fb43935](https://github.com/uptrace/bun/commit/fb4393582b49fe528800a66aac5fb1c9a6033048)) -* **migrate:** type MigrationGroup should be used as a value rather than a pointer ([649da1b](https://github.com/uptrace/bun/commit/649da1b3c158060add9b61b32c289260daafa65a)) -* mssql cursor pagination ([#589](https://github.com/uptrace/bun/issues/589)) ([b34ec97](https://github.com/uptrace/bun/commit/b34ec97ddda95629f73762721d60fd3e00e7e99f)) - +- bunotel add set attributes to query metrics + ([dae82cc](https://github.com/carautenbach/bun/commit/dae82cc0e3af49be1e474027b55c34364676985d)) +- **db.ScanRows:** ensure rows.Close is called + ([9ffbc6a](https://github.com/carautenbach/bun/commit/9ffbc6a46e24b908742b6973f33ef8e5b17cc12b)) +- merge apply + ([3081849](https://github.com/carautenbach/bun/commit/30818499eacddd3b1a3e749091ba6a1468125641)) +- **migrate:** close conn/tx on error + ([7b168ea](https://github.com/carautenbach/bun/commit/7b168eabfe0f844bcbf8dc89629d04c385b9f58c)) +- **migrate:** type Migration should be used as a value rather than a pointer + ([fb43935](https://github.com/carautenbach/bun/commit/fb4393582b49fe528800a66aac5fb1c9a6033048)) +- **migrate:** type MigrationGroup should be used as a value rather than a pointer + ([649da1b](https://github.com/carautenbach/bun/commit/649da1b3c158060add9b61b32c289260daafa65a)) +- mssql cursor pagination ([#589](https://github.com/carautenbach/bun/issues/589)) + ([b34ec97](https://github.com/carautenbach/bun/commit/b34ec97ddda95629f73762721d60fd3e00e7e99f)) ### Features -* "skipupdate" model field tag ([#565](https://github.com/uptrace/bun/issues/565)) ([9288294](https://github.com/uptrace/bun/commit/928829482c718a0c215aa4f4adfa6f3fb3ed4302)) -* add pgdriver write error to log ([5ddda3d](https://github.com/uptrace/bun/commit/5ddda3de31cd08ceee4bdea64ceae8d15eace07b)) -* add query string representation ([520da7e](https://github.com/uptrace/bun/commit/520da7e1d6dbf7b06846f6b39a7f99e8753c1466)) -* add relation condition with tag ([fe5bbf6](https://github.com/uptrace/bun/commit/fe5bbf64f33d25b310e5510ece7d705b9eb3bfea)) -* add support for ON UPDATE and ON DELETE rules on belongs-to relationships from struct tags ([#533](https://github.com/uptrace/bun/issues/533)) ([a327b2a](https://github.com/uptrace/bun/commit/a327b2ae216abb55a705626296c0cdbf8d648697)) -* add tx methods to IDB ([#587](https://github.com/uptrace/bun/issues/587)) ([feab313](https://github.com/uptrace/bun/commit/feab313c0358200b6e270ac70f4551b011ab5276)) -* added raw query calls ([#596](https://github.com/uptrace/bun/issues/596)) ([127644d](https://github.com/uptrace/bun/commit/127644d2eea443736fbd6bed3417595d439e4639)) -* **bunotel:** add option to enable formatting of queries ([#547](https://github.com/uptrace/bun/issues/547)) ([b9c768c](https://github.com/uptrace/bun/commit/b9c768cec3b5dea36c3c9c344d1e76e0ffad1369)) -* **config.go:** add sslrootcert support to DSN parameters ([3bd5d69](https://github.com/uptrace/bun/commit/3bd5d692d7df4f30d07b835d6a46fc7af382489a)) -* create an extra module for newrelic ([#599](https://github.com/uptrace/bun/issues/599)) ([6c676ce](https://github.com/uptrace/bun/commit/6c676ce13f05fe763471fbec2d5a2db48bc88650)) -* **migrate:** add WithMarkAppliedOnSuccess ([31b2cc4](https://github.com/uptrace/bun/commit/31b2cc4f5ccd794a436d081073d4974835d3780d)) -* **pgdialect:** add hstore support ([66b44f7](https://github.com/uptrace/bun/commit/66b44f7c0edc205927fb8be96aaf263b31828fa1)) -* **pgdialect:** add identity support ([646251e](https://github.com/uptrace/bun/commit/646251ec02a1e2ec717e907e6f128d8b51f17c6d)) -* **pgdriver:** expose pgdriver.ParseTime ([405a7d7](https://github.com/uptrace/bun/commit/405a7d78d8f60cf27e8f175deaf95db5877d84be)) - - - -## [1.1.5](https://github.com/uptrace/bun/compare/v1.1.4...v1.1.5) (2022-05-12) - +- "skipupdate" model field tag ([#565](https://github.com/carautenbach/bun/issues/565)) + ([9288294](https://github.com/carautenbach/bun/commit/928829482c718a0c215aa4f4adfa6f3fb3ed4302)) +- add pgdriver write error to log + ([5ddda3d](https://github.com/carautenbach/bun/commit/5ddda3de31cd08ceee4bdea64ceae8d15eace07b)) +- add query string representation + ([520da7e](https://github.com/carautenbach/bun/commit/520da7e1d6dbf7b06846f6b39a7f99e8753c1466)) +- add relation condition with tag + ([fe5bbf6](https://github.com/carautenbach/bun/commit/fe5bbf64f33d25b310e5510ece7d705b9eb3bfea)) +- add support for ON UPDATE and ON DELETE rules on belongs-to relationships from struct tags + ([#533](https://github.com/carautenbach/bun/issues/533)) + ([a327b2a](https://github.com/carautenbach/bun/commit/a327b2ae216abb55a705626296c0cdbf8d648697)) +- add tx methods to IDB ([#587](https://github.com/carautenbach/bun/issues/587)) + ([feab313](https://github.com/carautenbach/bun/commit/feab313c0358200b6e270ac70f4551b011ab5276)) +- added raw query calls ([#596](https://github.com/carautenbach/bun/issues/596)) + ([127644d](https://github.com/carautenbach/bun/commit/127644d2eea443736fbd6bed3417595d439e4639)) +- **bunotel:** add option to enable formatting of queries + ([#547](https://github.com/carautenbach/bun/issues/547)) + ([b9c768c](https://github.com/carautenbach/bun/commit/b9c768cec3b5dea36c3c9c344d1e76e0ffad1369)) +- **config.go:** add sslrootcert support to DSN parameters + ([3bd5d69](https://github.com/carautenbach/bun/commit/3bd5d692d7df4f30d07b835d6a46fc7af382489a)) +- create an extra module for newrelic ([#599](https://github.com/carautenbach/bun/issues/599)) + ([6c676ce](https://github.com/carautenbach/bun/commit/6c676ce13f05fe763471fbec2d5a2db48bc88650)) +- **migrate:** add WithMarkAppliedOnSuccess + ([31b2cc4](https://github.com/carautenbach/bun/commit/31b2cc4f5ccd794a436d081073d4974835d3780d)) +- **pgdialect:** add hstore support + ([66b44f7](https://github.com/carautenbach/bun/commit/66b44f7c0edc205927fb8be96aaf263b31828fa1)) +- **pgdialect:** add identity support + ([646251e](https://github.com/carautenbach/bun/commit/646251ec02a1e2ec717e907e6f128d8b51f17c6d)) +- **pgdriver:** expose pgdriver.ParseTime + ([405a7d7](https://github.com/carautenbach/bun/commit/405a7d78d8f60cf27e8f175deaf95db5877d84be)) + +## [1.1.5](https://github.com/carautenbach/bun/compare/v1.1.4...v1.1.5) (2022-05-12) ### Bug Fixes -* **driver/sqliteshim:** make it work with recent version of modernc sqlite ([2360584](https://github.com/uptrace/bun/commit/23605846c20684e39bf1eaac50a2147a1b68a729)) - - - -## [1.1.4](https://github.com/uptrace/bun/compare/v1.1.3...v1.1.4) (2022-04-20) +- **driver/sqliteshim:** make it work with recent version of modernc sqlite + ([2360584](https://github.com/carautenbach/bun/commit/23605846c20684e39bf1eaac50a2147a1b68a729)) +## [1.1.4](https://github.com/carautenbach/bun/compare/v1.1.3...v1.1.4) (2022-04-20) ### Bug Fixes -* automatically set nullzero when there is default:value option ([72c44ae](https://github.com/uptrace/bun/commit/72c44aebbeec3a83ed97ea25a3262174d744df65)) -* fix ForceDelete on live/undeleted rows ([1a33250](https://github.com/uptrace/bun/commit/1a33250f27f00e752a735ce10311ac95dcb0c968)) -* fix OmitZero and value overriding ([087ea07](https://github.com/uptrace/bun/commit/087ea0730551f1e841bacb6ad2fa3afd512a1df8)) -* rename Query to QueryBuilder ([98d111b](https://github.com/uptrace/bun/commit/98d111b7cc00fa61b6b2cec147f43285f4baadb4)) - +- automatically set nullzero when there is default:value option + ([72c44ae](https://github.com/carautenbach/bun/commit/72c44aebbeec3a83ed97ea25a3262174d744df65)) +- fix ForceDelete on live/undeleted rows + ([1a33250](https://github.com/carautenbach/bun/commit/1a33250f27f00e752a735ce10311ac95dcb0c968)) +- fix OmitZero and value overriding + ([087ea07](https://github.com/carautenbach/bun/commit/087ea0730551f1e841bacb6ad2fa3afd512a1df8)) +- rename Query to QueryBuilder + ([98d111b](https://github.com/carautenbach/bun/commit/98d111b7cc00fa61b6b2cec147f43285f4baadb4)) ### Features -* add ApplyQueryBuilder ([582eca0](https://github.com/uptrace/bun/commit/582eca09cf2b59e67c2e4a2ad24f1a74cb53addd)) -* **config.go:** add connect_timeout to DSN parsable params ([998b04d](https://github.com/uptrace/bun/commit/998b04d51a9a4f182ac3458f90db8dbf9185c4ba)), closes [#505](https://github.com/uptrace/bun/issues/505) - - +- add ApplyQueryBuilder + ([582eca0](https://github.com/carautenbach/bun/commit/582eca09cf2b59e67c2e4a2ad24f1a74cb53addd)) +- **config.go:** add connect_timeout to DSN parsable params + ([998b04d](https://github.com/carautenbach/bun/commit/998b04d51a9a4f182ac3458f90db8dbf9185c4ba)), + closes [#505](https://github.com/carautenbach/bun/issues/505) -# [1.1.3](https://github.com/uptrace/bun/compare/v1.1.2...v) (2022-03-29) +# [1.1.3](https://github.com/carautenbach/bun/compare/v1.1.2...v) (2022-03-29) ### Bug Fixes - fix panic message when has-many encounter an error - ([cfd2747](https://github.com/uptrace/bun/commit/cfd27475fac89a1c8cf798bfa64898bd77bbba79)) + ([cfd2747](https://github.com/carautenbach/bun/commit/cfd27475fac89a1c8cf798bfa64898bd77bbba79)) - **migrate:** change rollback to match migrate behavior - ([df5af9c](https://github.com/uptrace/bun/commit/df5af9c9cbdf54ce243e037bbb2c7b154f8422b3)) + ([df5af9c](https://github.com/carautenbach/bun/commit/df5af9c9cbdf54ce243e037bbb2c7b154f8422b3)) ### Features - added QueryBuilder interface for SelectQuery, UpdateQuery, DeleteQuery - ([#499](https://github.com/uptrace/bun/issues/499)) - ([59fef48](https://github.com/uptrace/bun/commit/59fef48f6b3ec7f32bdda779b6693c333ff1dfdb)) + ([#499](https://github.com/carautenbach/bun/issues/499)) + ([59fef48](https://github.com/carautenbach/bun/commit/59fef48f6b3ec7f32bdda779b6693c333ff1dfdb)) -# [1.1.2](https://github.com/uptrace/bun/compare/v1.1.2...v) (2022-03-22) +# [1.1.2](https://github.com/carautenbach/bun/compare/v1.1.2...v) (2022-03-22) ### Bug Fixes - correctly handle bun.In([][]byte{...}) - ([800616e](https://github.com/uptrace/bun/commit/800616ed28ca600ad676319a10adb970b2b4daf6)) + ([800616e](https://github.com/carautenbach/bun/commit/800616ed28ca600ad676319a10adb970b2b4daf6)) ### Features - accept extend option to allow extending existing models - ([48b80e4](https://github.com/uptrace/bun/commit/48b80e4f7e3ed8a28fd305f7853ebe7ab984a497)) + ([48b80e4](https://github.com/carautenbach/bun/commit/48b80e4f7e3ed8a28fd305f7853ebe7ab984a497)) -# [1.1.0](https://github.com/uptrace/bun/compare/v1.1.0-beta.1...v1.1.0) (2022-02-28) +# [1.1.0](https://github.com/carautenbach/bun/compare/v1.1.0-beta.1...v1.1.0) (2022-02-28) ### Features @@ -172,7 +209,7 @@ `Set("col_name = upper(?)", "hello")` which works for all 4 supported DBMS. * improve nil ptr values handling - ([b398e6b](https://github.com/uptrace/bun/commit/b398e6bea840ea2fd3e001b7879c0b00b6dcd6f7)) + ([b398e6b](https://github.com/carautenbach/bun/commit/b398e6bea840ea2fd3e001b7879c0b00b6dcd6f7)) ### Breaking changes @@ -196,21 +233,21 @@ recommended to upgrade to v1.0.24 before upgrading to v1.1.x. ### Bug Fixes - append slice values - ([4a65129](https://github.com/uptrace/bun/commit/4a651294fb0f1e73079553024810c3ead9777311)) + ([4a65129](https://github.com/carautenbach/bun/commit/4a651294fb0f1e73079553024810c3ead9777311)) - check for nils when appeding driver.Value - ([7bb1640](https://github.com/uptrace/bun/commit/7bb1640a00fceca1e1075fe6544b9a4842ab2b26)) + ([7bb1640](https://github.com/carautenbach/bun/commit/7bb1640a00fceca1e1075fe6544b9a4842ab2b26)) - cleanup soft deletes for mssql - ([e72e2c5](https://github.com/uptrace/bun/commit/e72e2c5d0a85f3d26c3fa22c7284c2de1dcfda8e)) -- **dbfixture:** apply cascade option. Fixes [#447](https://github.com/uptrace/bun/issues/447) - ([d32d988](https://github.com/uptrace/bun/commit/d32d98840bc23e74c836f8192cb4bc9529aa9233)) + ([e72e2c5](https://github.com/carautenbach/bun/commit/e72e2c5d0a85f3d26c3fa22c7284c2de1dcfda8e)) +- **dbfixture:** apply cascade option. Fixes [#447](https://github.com/carautenbach/bun/issues/447) + ([d32d988](https://github.com/carautenbach/bun/commit/d32d98840bc23e74c836f8192cb4bc9529aa9233)) - create table WithForeignKey() and has-many relation - ([3cf5649](https://github.com/uptrace/bun/commit/3cf56491706b5652c383dbe007ff2389ad64922e)) + ([3cf5649](https://github.com/carautenbach/bun/commit/3cf56491706b5652c383dbe007ff2389ad64922e)) - do not emit m2m relations in WithForeignKeys() - ([56c8c5e](https://github.com/uptrace/bun/commit/56c8c5ed44c0d6d734c3d3161c642ce8437e2248)) + ([56c8c5e](https://github.com/carautenbach/bun/commit/56c8c5ed44c0d6d734c3d3161c642ce8437e2248)) - accept dest in select queries - ([33b5b6f](https://github.com/uptrace/bun/commit/33b5b6ff660b77238a737a543ca12675c7f0c284)) + ([33b5b6f](https://github.com/carautenbach/bun/commit/33b5b6ff660b77238a737a543ca12675c7f0c284)) -## [1.0.25](https://github.com/uptrace/bun/compare/v1.0.23...v1.0.25) (2022-02-22) +## [1.0.25](https://github.com/carautenbach/bun/compare/v1.0.23...v1.0.25) (2022-02-22) ### Bug Fixes @@ -244,304 +281,305 @@ In v1.1.x, such options as `,nopk` and `,allowzero` will not be necessary and wi ### Bug Fixes - fix missing autoincrement warning - ([3bc9c72](https://github.com/uptrace/bun/commit/3bc9c721e1c1c5104c256a0c01c4525df6ecefc2)) + ([3bc9c72](https://github.com/carautenbach/bun/commit/3bc9c721e1c1c5104c256a0c01c4525df6ecefc2)) * append slice values - ([4a65129](https://github.com/uptrace/bun/commit/4a651294fb0f1e73079553024810c3ead9777311)) + ([4a65129](https://github.com/carautenbach/bun/commit/4a651294fb0f1e73079553024810c3ead9777311)) * don't automatically set pk, nullzero, and autoincrement options - ([519a0df](https://github.com/uptrace/bun/commit/519a0df9707de01a418aba0d6b7482cfe4c9a532)) + ([519a0df](https://github.com/carautenbach/bun/commit/519a0df9707de01a418aba0d6b7482cfe4c9a532)) ### Features - add CreateTableQuery.DetectForeignKeys - ([a958fcb](https://github.com/uptrace/bun/commit/a958fcbab680b0c5ad7980f369c7b73f7673db87)) + ([a958fcb](https://github.com/carautenbach/bun/commit/a958fcbab680b0c5ad7980f369c7b73f7673db87)) -## [1.0.22](https://github.com/uptrace/bun/compare/v1.0.21...v1.0.22) (2022-01-28) +## [1.0.22](https://github.com/carautenbach/bun/compare/v1.0.21...v1.0.22) (2022-01-28) ### Bug Fixes - improve scan error message - ([54048b2](https://github.com/uptrace/bun/commit/54048b296b9648fd62107ce6fa6fd7e6e2a648c7)) + ([54048b2](https://github.com/carautenbach/bun/commit/54048b296b9648fd62107ce6fa6fd7e6e2a648c7)) - properly discover json.Marshaler on ptr field - ([3b321b0](https://github.com/uptrace/bun/commit/3b321b08601c4b8dc6bcaa24adea20875883ac14)) + ([3b321b0](https://github.com/carautenbach/bun/commit/3b321b08601c4b8dc6bcaa24adea20875883ac14)) ### Breaking (MySQL, MariaDB) - **insert:** get last insert id only with pk support auto increment - ([79e7c79](https://github.com/uptrace/bun/commit/79e7c797beea54bfc9dc1cb0141a7520ff941b4d)). Make - sure your MySQL models have `bun:",pk,autoincrement"` options if you are using autoincrements. + ([79e7c79](https://github.com/carautenbach/bun/commit/79e7c797beea54bfc9dc1cb0141a7520ff941b4d)). + Make sure your MySQL models have `bun:",pk,autoincrement"` options if you are using + autoincrements. ### Features - refuse to start when version check does not pass - ([ff8d767](https://github.com/uptrace/bun/commit/ff8d76794894eeaebede840e5199720f3f5cf531)) + ([ff8d767](https://github.com/carautenbach/bun/commit/ff8d76794894eeaebede840e5199720f3f5cf531)) - support Column in ValuesQuery - ([0707679](https://github.com/uptrace/bun/commit/0707679b075cac57efa8e6fe9019b57b2da4bcc7)) + ([0707679](https://github.com/carautenbach/bun/commit/0707679b075cac57efa8e6fe9019b57b2da4bcc7)) -## [1.0.21](https://github.com/uptrace/bun/compare/v1.0.20...v1.0.21) (2022-01-06) +## [1.0.21](https://github.com/carautenbach/bun/compare/v1.0.20...v1.0.21) (2022-01-06) ### Bug Fixes - append where to index create - ([1de6cea](https://github.com/uptrace/bun/commit/1de6ceaa8bba59b69fbe0cc6916d1b27da5586d8)) + ([1de6cea](https://github.com/carautenbach/bun/commit/1de6ceaa8bba59b69fbe0cc6916d1b27da5586d8)) - check if slice is nil when calling BeforeAppendModel - ([938d9da](https://github.com/uptrace/bun/commit/938d9dadb72ceeeb906064d9575278929d20cbbe)) + ([938d9da](https://github.com/carautenbach/bun/commit/938d9dadb72ceeeb906064d9575278929d20cbbe)) - **dbfixture:** directly set matching types via reflect - ([780504c](https://github.com/uptrace/bun/commit/780504cf1da687fc51a22d002ea66e2ccc41e1a3)) + ([780504c](https://github.com/carautenbach/bun/commit/780504cf1da687fc51a22d002ea66e2ccc41e1a3)) - properly handle driver.Valuer and type:json - ([a17454a](https://github.com/uptrace/bun/commit/a17454ac6b95b2a2e927d0c4e4aee96494108389)) + ([a17454a](https://github.com/carautenbach/bun/commit/a17454ac6b95b2a2e927d0c4e4aee96494108389)) - support scanning string into uint64 - ([73cc117](https://github.com/uptrace/bun/commit/73cc117a9f7a623ced1fdaedb4546e8e7470e4d3)) + ([73cc117](https://github.com/carautenbach/bun/commit/73cc117a9f7a623ced1fdaedb4546e8e7470e4d3)) - unique module name for opentelemetry example - ([f2054fe](https://github.com/uptrace/bun/commit/f2054fe1d11cea3b21d69dab6f6d6d7d97ba06bb)) + ([f2054fe](https://github.com/carautenbach/bun/commit/f2054fe1d11cea3b21d69dab6f6d6d7d97ba06bb)) ### Features - add anonymous fields with type name - ([508375b](https://github.com/uptrace/bun/commit/508375b8f2396cb088fd4399a9259584353eb7e5)) + ([508375b](https://github.com/carautenbach/bun/commit/508375b8f2396cb088fd4399a9259584353eb7e5)) - add baseQuery.GetConn() - ([81a9bee](https://github.com/uptrace/bun/commit/81a9beecb74fed7ec3574a1d42acdf10a74e0b00)) + ([81a9bee](https://github.com/carautenbach/bun/commit/81a9beecb74fed7ec3574a1d42acdf10a74e0b00)) - create new queries from baseQuery - ([ae1dd61](https://github.com/uptrace/bun/commit/ae1dd611a91c2b7c79bc2bc12e9a53e857791e71)) + ([ae1dd61](https://github.com/carautenbach/bun/commit/ae1dd611a91c2b7c79bc2bc12e9a53e857791e71)) - support INSERT ... RETURNING for MariaDB >= 10.5.0 - ([b6531c0](https://github.com/uptrace/bun/commit/b6531c00ecbd4c7ec56b4131fab213f9313edc1b)) + ([b6531c0](https://github.com/carautenbach/bun/commit/b6531c00ecbd4c7ec56b4131fab213f9313edc1b)) -## [1.0.20](https://github.com/uptrace/bun/compare/v1.0.19...v1.0.20) (2021-12-19) +## [1.0.20](https://github.com/carautenbach/bun/compare/v1.0.19...v1.0.20) (2021-12-19) ### Bug Fixes - add Event.QueryTemplate and change Event.Query to be always formatted - ([52b1ccd](https://github.com/uptrace/bun/commit/52b1ccdf3578418aa427adef9dcf942d90ae4fdd)) + ([52b1ccd](https://github.com/carautenbach/bun/commit/52b1ccdf3578418aa427adef9dcf942d90ae4fdd)) - change GetTableName to return formatted table name in case ModelTableExpr - ([95144dd](https://github.com/uptrace/bun/commit/95144dde937b4ac88b36b0bd8b01372421069b44)) + ([95144dd](https://github.com/carautenbach/bun/commit/95144dde937b4ac88b36b0bd8b01372421069b44)) - change ScanAndCount to work with transactions - ([5b3f2c0](https://github.com/uptrace/bun/commit/5b3f2c021c424da366caffd33589e8adde821403)) + ([5b3f2c0](https://github.com/carautenbach/bun/commit/5b3f2c021c424da366caffd33589e8adde821403)) - **dbfixture:** directly call funcs bypassing template eval - ([a61974b](https://github.com/uptrace/bun/commit/a61974ba2d24361c5357fb9bda1f3eceec5a45cd)) + ([a61974b](https://github.com/carautenbach/bun/commit/a61974ba2d24361c5357fb9bda1f3eceec5a45cd)) - don't append CASCADE by default in drop table/column queries - ([26457ea](https://github.com/uptrace/bun/commit/26457ea5cb20862d232e6e5fa4dbdeac5d444bf1)) + ([26457ea](https://github.com/carautenbach/bun/commit/26457ea5cb20862d232e6e5fa4dbdeac5d444bf1)) - **migrate:** mark migrations as applied on error so the migration can be rolled back - ([8ce33fb](https://github.com/uptrace/bun/commit/8ce33fbbac8e33077c20daf19a14c5ff2291bcae)) + ([8ce33fb](https://github.com/carautenbach/bun/commit/8ce33fbbac8e33077c20daf19a14c5ff2291bcae)) - respect nullzero when appending struct fields. Fixes - [#339](https://github.com/uptrace/bun/issues/339) - ([ffd02f3](https://github.com/uptrace/bun/commit/ffd02f3170b3cccdd670a48d563cfb41094c05d6)) -- reuse tx for relation join ([#366](https://github.com/uptrace/bun/issues/366)) - ([60bdb1a](https://github.com/uptrace/bun/commit/60bdb1ac84c0a699429eead3b7fdfbf14fe69ac6)) + [#339](https://github.com/carautenbach/bun/issues/339) + ([ffd02f3](https://github.com/carautenbach/bun/commit/ffd02f3170b3cccdd670a48d563cfb41094c05d6)) +- reuse tx for relation join ([#366](https://github.com/carautenbach/bun/issues/366)) + ([60bdb1a](https://github.com/carautenbach/bun/commit/60bdb1ac84c0a699429eead3b7fdfbf14fe69ac6)) ### Features - add `Dialect()` to Transaction and IDB interface - ([693f1e1](https://github.com/uptrace/bun/commit/693f1e135999fc31cf83b99a2530a695b20f4e1b)) + ([693f1e1](https://github.com/carautenbach/bun/commit/693f1e135999fc31cf83b99a2530a695b20f4e1b)) - add model embedding via embed:prefix\_ - ([9a2cedc](https://github.com/uptrace/bun/commit/9a2cedc8b08fa8585d4bfced338bd0a40d736b1d)) + ([9a2cedc](https://github.com/carautenbach/bun/commit/9a2cedc8b08fa8585d4bfced338bd0a40d736b1d)) - change the default logoutput to stderr - ([4bf5773](https://github.com/uptrace/bun/commit/4bf577382f19c64457cbf0d64490401450954654)), - closes [#349](https://github.com/uptrace/bun/issues/349) + ([4bf5773](https://github.com/carautenbach/bun/commit/4bf577382f19c64457cbf0d64490401450954654)), + closes [#349](https://github.com/carautenbach/bun/issues/349) -## [1.0.19](https://github.com/uptrace/bun/compare/v1.0.18...v1.0.19) (2021-11-30) +## [1.0.19](https://github.com/carautenbach/bun/compare/v1.0.18...v1.0.19) (2021-11-30) ### Features - add support for column:name to specify column name - ([e37b460](https://github.com/uptrace/bun/commit/e37b4602823babc8221970e086cfed90c6ad4cf4)) + ([e37b460](https://github.com/carautenbach/bun/commit/e37b4602823babc8221970e086cfed90c6ad4cf4)) -## [1.0.18](https://github.com/uptrace/bun/compare/v1.0.17...v1.0.18) (2021-11-24) +## [1.0.18](https://github.com/carautenbach/bun/compare/v1.0.17...v1.0.18) (2021-11-24) ### Bug Fixes - use correct operation for UpdateQuery - ([687a004](https://github.com/uptrace/bun/commit/687a004ef7ec6fe1ef06c394965dd2c2d822fc82)) + ([687a004](https://github.com/carautenbach/bun/commit/687a004ef7ec6fe1ef06c394965dd2c2d822fc82)) ### Features - add pgdriver.Notify - ([7ee443d](https://github.com/uptrace/bun/commit/7ee443d1b869d8ddc4746850f7425d0a9ccd012b)) + ([7ee443d](https://github.com/carautenbach/bun/commit/7ee443d1b869d8ddc4746850f7425d0a9ccd012b)) - CreateTableQuery.PartitionBy and CreateTableQuery.TableSpace - ([cd3ab4d](https://github.com/uptrace/bun/commit/cd3ab4d8f3682f5a30b87c2ebc2d7e551d739078)) + ([cd3ab4d](https://github.com/carautenbach/bun/commit/cd3ab4d8f3682f5a30b87c2ebc2d7e551d739078)) - **pgdriver:** add CopyFrom and CopyTo - ([0b97703](https://github.com/uptrace/bun/commit/0b977030b5c05f509e11d13550b5f99dfd62358d)) + ([0b97703](https://github.com/carautenbach/bun/commit/0b977030b5c05f509e11d13550b5f99dfd62358d)) - support InsertQuery.Ignore on PostgreSQL - ([1aa9d14](https://github.com/uptrace/bun/commit/1aa9d149da8e46e63ff79192e394fde4d18d9b60)) + ([1aa9d14](https://github.com/carautenbach/bun/commit/1aa9d149da8e46e63ff79192e394fde4d18d9b60)) -## [1.0.17](https://github.com/uptrace/bun/compare/v1.0.16...v1.0.17) (2021-11-11) +## [1.0.17](https://github.com/carautenbach/bun/compare/v1.0.16...v1.0.17) (2021-11-11) ### Bug Fixes - don't call rollback when tx is already done - ([8246c2a](https://github.com/uptrace/bun/commit/8246c2a63e2e6eba314201c6ba87f094edf098b9)) + ([8246c2a](https://github.com/carautenbach/bun/commit/8246c2a63e2e6eba314201c6ba87f094edf098b9)) - **mysql:** escape backslash char in strings - ([fb32029](https://github.com/uptrace/bun/commit/fb32029ea7604d066800b16df21f239b71bf121d)) + ([fb32029](https://github.com/carautenbach/bun/commit/fb32029ea7604d066800b16df21f239b71bf121d)) -## [1.0.16](https://github.com/uptrace/bun/compare/v1.0.15...v1.0.16) (2021-11-07) +## [1.0.16](https://github.com/carautenbach/bun/compare/v1.0.15...v1.0.16) (2021-11-07) ### Bug Fixes - call query hook when tx is started, committed, or rolled back - ([30e85b5](https://github.com/uptrace/bun/commit/30e85b5366b2e51951ef17a0cf362b58f708dab1)) + ([30e85b5](https://github.com/carautenbach/bun/commit/30e85b5366b2e51951ef17a0cf362b58f708dab1)) - **pgdialect:** auto-enable array support if the sql type is an array - ([62c1012](https://github.com/uptrace/bun/commit/62c1012b2482e83969e5c6f5faf89e655ce78138)) + ([62c1012](https://github.com/carautenbach/bun/commit/62c1012b2482e83969e5c6f5faf89e655ce78138)) ### Features - support multiple tag options join:left_col1=right_col1,join:left_col2=right_col2 - ([78cd5aa](https://github.com/uptrace/bun/commit/78cd5aa60a5c7d1323bb89081db2b2b811113052)) + ([78cd5aa](https://github.com/carautenbach/bun/commit/78cd5aa60a5c7d1323bb89081db2b2b811113052)) - **tag:** log with bad tag name - ([4e82d75](https://github.com/uptrace/bun/commit/4e82d75be2dabdba1a510df4e1fbb86092f92f4c)) + ([4e82d75](https://github.com/carautenbach/bun/commit/4e82d75be2dabdba1a510df4e1fbb86092f92f4c)) -## [1.0.15](https://github.com/uptrace/bun/compare/v1.0.14...v1.0.15) (2021-10-29) +## [1.0.15](https://github.com/carautenbach/bun/compare/v1.0.14...v1.0.15) (2021-10-29) ### Bug Fixes - fixed bug creating table when model has no columns - ([042c50b](https://github.com/uptrace/bun/commit/042c50bfe41caaa6e279e02c887c3a84a3acd84f)) + ([042c50b](https://github.com/carautenbach/bun/commit/042c50bfe41caaa6e279e02c887c3a84a3acd84f)) - init table with dialect once - ([9a1ce1e](https://github.com/uptrace/bun/commit/9a1ce1e492602742bb2f587e9ed24e50d7d07cad)) + ([9a1ce1e](https://github.com/carautenbach/bun/commit/9a1ce1e492602742bb2f587e9ed24e50d7d07cad)) ### Features - accept columns in WherePK - ([b3e7035](https://github.com/uptrace/bun/commit/b3e70356db1aa4891115a10902316090fccbc8bf)) + ([b3e7035](https://github.com/carautenbach/bun/commit/b3e70356db1aa4891115a10902316090fccbc8bf)) - support ADD COLUMN IF NOT EXISTS - ([ca7357c](https://github.com/uptrace/bun/commit/ca7357cdfe283e2f0b94eb638372e18401c486e9)) + ([ca7357c](https://github.com/carautenbach/bun/commit/ca7357cdfe283e2f0b94eb638372e18401c486e9)) -## [1.0.14](https://github.com/uptrace/bun/compare/v1.0.13...v1.0.14) (2021-10-24) +## [1.0.14](https://github.com/carautenbach/bun/compare/v1.0.13...v1.0.14) (2021-10-24) ### Bug Fixes -- correct binary serialization for mysql ([#259](https://github.com/uptrace/bun/issues/259)) - ([e899f50](https://github.com/uptrace/bun/commit/e899f50b22ef6759ef8c029a6cd3f25f2bde17ef)) +- correct binary serialization for mysql ([#259](https://github.com/carautenbach/bun/issues/259)) + ([e899f50](https://github.com/carautenbach/bun/commit/e899f50b22ef6759ef8c029a6cd3f25f2bde17ef)) - correctly escape single quotes in pg arrays - ([3010847](https://github.com/uptrace/bun/commit/3010847f5c2c50bce1969689a0b77fd8a6fb7e55)) + ([3010847](https://github.com/carautenbach/bun/commit/3010847f5c2c50bce1969689a0b77fd8a6fb7e55)) - use BLOB sql type to encode []byte in MySQL and SQLite - ([725ec88](https://github.com/uptrace/bun/commit/725ec8843824a7fc8f4058ead75ab0e62a78192a)) + ([725ec88](https://github.com/carautenbach/bun/commit/725ec8843824a7fc8f4058ead75ab0e62a78192a)) ### Features - warn when there are args but no placeholders - ([06dde21](https://github.com/uptrace/bun/commit/06dde215c8d0bde2b2364597190729a160e536a1)) + ([06dde21](https://github.com/carautenbach/bun/commit/06dde215c8d0bde2b2364597190729a160e536a1)) -## [1.0.13](https://github.com/uptrace/bun/compare/v1.0.12...v1.0.13) (2021-10-17) +## [1.0.13](https://github.com/carautenbach/bun/compare/v1.0.12...v1.0.13) (2021-10-17) ### Breaking Change - **pgdriver:** enable TLS by default with InsecureSkipVerify=true - ([15ec635](https://github.com/uptrace/bun/commit/15ec6356a04d5cf62d2efbeb189610532dc5eb31)) + ([15ec635](https://github.com/carautenbach/bun/commit/15ec6356a04d5cf62d2efbeb189610532dc5eb31)) ### Features - add BeforeAppendModelHook - ([0b55de7](https://github.com/uptrace/bun/commit/0b55de77aaffc1ed0894ef16f45df77bca7d93c1)) + ([0b55de7](https://github.com/carautenbach/bun/commit/0b55de77aaffc1ed0894ef16f45df77bca7d93c1)) - **pgdriver:** add support for unix socket DSN - ([f398cec](https://github.com/uptrace/bun/commit/f398cec1c3873efdf61ac0b94ebe06c657f0cf91)) + ([f398cec](https://github.com/carautenbach/bun/commit/f398cec1c3873efdf61ac0b94ebe06c657f0cf91)) -## [1.0.12](https://github.com/uptrace/bun/compare/v1.0.11...v1.0.12) (2021-10-14) +## [1.0.12](https://github.com/carautenbach/bun/compare/v1.0.11...v1.0.12) (2021-10-14) ### Bug Fixes - add InsertQuery.ColumnExpr to specify columns - ([60ffe29](https://github.com/uptrace/bun/commit/60ffe293b37912d95f28e69734ff51edf4b27da7)) + ([60ffe29](https://github.com/carautenbach/bun/commit/60ffe293b37912d95f28e69734ff51edf4b27da7)) - **bundebug:** change WithVerbose to accept a bool flag - ([b2f8b91](https://github.com/uptrace/bun/commit/b2f8b912de1dc29f40c79066de1e9d6379db666c)) + ([b2f8b91](https://github.com/carautenbach/bun/commit/b2f8b912de1dc29f40c79066de1e9d6379db666c)) - **pgdialect:** fix bytea[] handling - ([a5ca013](https://github.com/uptrace/bun/commit/a5ca013742c5a2e947b43d13f9c2fc0cf6a65d9c)) + ([a5ca013](https://github.com/carautenbach/bun/commit/a5ca013742c5a2e947b43d13f9c2fc0cf6a65d9c)) - **pgdriver:** rename DriverOption to Option - ([51c1702](https://github.com/uptrace/bun/commit/51c1702431787d7369904b2624e346bf3e59c330)) + ([51c1702](https://github.com/carautenbach/bun/commit/51c1702431787d7369904b2624e346bf3e59c330)) - support allowzero on the soft delete field - ([d0abec7](https://github.com/uptrace/bun/commit/d0abec71a9a546472a83bd70ed4e6a7357659a9b)) + ([d0abec7](https://github.com/carautenbach/bun/commit/d0abec71a9a546472a83bd70ed4e6a7357659a9b)) ### Features - **bundebug:** allow to configure the hook using env var, for example, BUNDEBUG={0,1,2} - ([ce92852](https://github.com/uptrace/bun/commit/ce928524cab9a83395f3772ae9dd5d7732af281d)) + ([ce92852](https://github.com/carautenbach/bun/commit/ce928524cab9a83395f3772ae9dd5d7732af281d)) - **bunotel:** report DBStats metrics - ([b9b1575](https://github.com/uptrace/bun/commit/b9b15750f405cdbd345b776f5a56c6f742bc7361)) + ([b9b1575](https://github.com/carautenbach/bun/commit/b9b15750f405cdbd345b776f5a56c6f742bc7361)) - **pgdriver:** add Error.StatementTimeout - ([8a7934d](https://github.com/uptrace/bun/commit/8a7934dd788057828bb2b0983732b4394b74e960)) + ([8a7934d](https://github.com/carautenbach/bun/commit/8a7934dd788057828bb2b0983732b4394b74e960)) - **pgdriver:** allow setting Network in config - ([b24b5d8](https://github.com/uptrace/bun/commit/b24b5d8014195a56ad7a4c634c10681038e6044d)) + ([b24b5d8](https://github.com/carautenbach/bun/commit/b24b5d8014195a56ad7a4c634c10681038e6044d)) -## [1.0.11](https://github.com/uptrace/bun/compare/v1.0.10...v1.0.11) (2021-10-05) +## [1.0.11](https://github.com/carautenbach/bun/compare/v1.0.10...v1.0.11) (2021-10-05) ### Bug Fixes - **mysqldialect:** remove duplicate AppendTime - ([8d42090](https://github.com/uptrace/bun/commit/8d42090af34a1760004482c7fc0923b114d79937)) + ([8d42090](https://github.com/carautenbach/bun/commit/8d42090af34a1760004482c7fc0923b114d79937)) -## [1.0.10](https://github.com/uptrace/bun/compare/v1.0.9...v1.0.10) (2021-10-05) +## [1.0.10](https://github.com/carautenbach/bun/compare/v1.0.9...v1.0.10) (2021-10-05) ### Bug Fixes - add UpdateQuery.OmitZero - ([2294db6](https://github.com/uptrace/bun/commit/2294db61d228711435fff1075409a30086b37555)) + ([2294db6](https://github.com/carautenbach/bun/commit/2294db61d228711435fff1075409a30086b37555)) - make ExcludeColumn work with many-to-many queries - ([300e12b](https://github.com/uptrace/bun/commit/300e12b993554ff839ec4fa6bbea97e16aca1b55)) + ([300e12b](https://github.com/carautenbach/bun/commit/300e12b993554ff839ec4fa6bbea97e16aca1b55)) - **mysqldialect:** append time in local timezone - ([e763cc8](https://github.com/uptrace/bun/commit/e763cc81eac4b11fff4e074ad3ff6cd970a71697)) + ([e763cc8](https://github.com/carautenbach/bun/commit/e763cc81eac4b11fff4e074ad3ff6cd970a71697)) - **tagparser:** improve parsing options with brackets - ([0daa61e](https://github.com/uptrace/bun/commit/0daa61edc3c4d927ed260332b99ee09f4bb6b42f)) + ([0daa61e](https://github.com/carautenbach/bun/commit/0daa61edc3c4d927ed260332b99ee09f4bb6b42f)) ### Features - add timetz parsing - ([6e415c4](https://github.com/uptrace/bun/commit/6e415c4c5fa2c8caf4bb4aed4e5897fe5676f5a5)) + ([6e415c4](https://github.com/carautenbach/bun/commit/6e415c4c5fa2c8caf4bb4aed4e5897fe5676f5a5)) -## [1.0.9](https://github.com/uptrace/bun/compare/v1.0.8...v1.0.9) (2021-09-27) +## [1.0.9](https://github.com/carautenbach/bun/compare/v1.0.8...v1.0.9) (2021-09-27) ### Bug Fixes - change DBStats to use uint32 instead of uint64 to make it work on i386 - ([caca2a7](https://github.com/uptrace/bun/commit/caca2a7130288dec49fa26b49c8550140ee52f4c)) + ([caca2a7](https://github.com/carautenbach/bun/commit/caca2a7130288dec49fa26b49c8550140ee52f4c)) ### Features - add IQuery and QueryEvent.IQuery - ([b762942](https://github.com/uptrace/bun/commit/b762942fa3b1d8686d0a559f93f2a6847b83d9c1)) + ([b762942](https://github.com/carautenbach/bun/commit/b762942fa3b1d8686d0a559f93f2a6847b83d9c1)) - add QueryEvent.Model - ([7688201](https://github.com/uptrace/bun/commit/7688201b485d14d3e393956f09a3200ea4d4e31d)) + ([7688201](https://github.com/carautenbach/bun/commit/7688201b485d14d3e393956f09a3200ea4d4e31d)) - **bunotel:** add experimental bun.query.timing metric - ([2cdb384](https://github.com/uptrace/bun/commit/2cdb384678631ccadac0fb75f524bd5e91e96ee2)) + ([2cdb384](https://github.com/carautenbach/bun/commit/2cdb384678631ccadac0fb75f524bd5e91e96ee2)) - **pgdriver:** add Config.ConnParams to session config params - ([408caf0](https://github.com/uptrace/bun/commit/408caf0bb579e23e26fc6149efd6851814c22517)) + ([408caf0](https://github.com/carautenbach/bun/commit/408caf0bb579e23e26fc6149efd6851814c22517)) - **pgdriver:** allow specifying timeout in DSN - ([7dbc71b](https://github.com/uptrace/bun/commit/7dbc71b3494caddc2e97d113f00067071b9e19da)) + ([7dbc71b](https://github.com/carautenbach/bun/commit/7dbc71b3494caddc2e97d113f00067071b9e19da)) -## [1.0.8](https://github.com/uptrace/bun/compare/v1.0.7...v1.0.8) (2021-09-18) +## [1.0.8](https://github.com/carautenbach/bun/compare/v1.0.7...v1.0.8) (2021-09-18) ### Bug Fixes - don't append soft delete where for insert queries with on conflict clause - ([27c477c](https://github.com/uptrace/bun/commit/27c477ce071d4c49c99a2531d638ed9f20e33461)) + ([27c477c](https://github.com/carautenbach/bun/commit/27c477ce071d4c49c99a2531d638ed9f20e33461)) - improve bun.NullTime to accept string - ([73ad6f5](https://github.com/uptrace/bun/commit/73ad6f5640a0a9b09f8df2bc4ab9cb510021c50c)) + ([73ad6f5](https://github.com/carautenbach/bun/commit/73ad6f5640a0a9b09f8df2bc4ab9cb510021c50c)) - make allowzero work with auto-detected primary keys - ([82ca87c](https://github.com/uptrace/bun/commit/82ca87c7c49797d507b31fdaacf8343716d4feff)) + ([82ca87c](https://github.com/carautenbach/bun/commit/82ca87c7c49797d507b31fdaacf8343716d4feff)) - support soft deletes on nil model - ([0556e3c](https://github.com/uptrace/bun/commit/0556e3c63692a7f4e48659d52b55ffd9cca0202a)) + ([0556e3c](https://github.com/carautenbach/bun/commit/0556e3c63692a7f4e48659d52b55ffd9cca0202a)) -## [1.0.7](https://github.com/uptrace/bun/compare/v1.0.6...v1.0.7) (2021-09-15) +## [1.0.7](https://github.com/carautenbach/bun/compare/v1.0.6...v1.0.7) (2021-09-15) ### Bug Fixes - don't append zero time as NULL without nullzero tag - ([3b8d9cb](https://github.com/uptrace/bun/commit/3b8d9cb4e39eb17f79a618396bbbe0adbc66b07b)) + ([3b8d9cb](https://github.com/carautenbach/bun/commit/3b8d9cb4e39eb17f79a618396bbbe0adbc66b07b)) - **pgdriver:** return PostgreSQL DATE as a string - ([40be0e8](https://github.com/uptrace/bun/commit/40be0e8ea85f8932b7a410a6fc2dd3acd2d18ebc)) + ([40be0e8](https://github.com/carautenbach/bun/commit/40be0e8ea85f8932b7a410a6fc2dd3acd2d18ebc)) - specify table alias for soft delete where - ([5fff1dc](https://github.com/uptrace/bun/commit/5fff1dc1dd74fa48623a24fa79e358a544dfac0b)) + ([5fff1dc](https://github.com/carautenbach/bun/commit/5fff1dc1dd74fa48623a24fa79e358a544dfac0b)) ### Features - add SelectQuery.Exists helper - ([c3e59c1](https://github.com/uptrace/bun/commit/c3e59c1bc58b43c4b8e33e7d170ad33a08fbc3c7)) + ([c3e59c1](https://github.com/carautenbach/bun/commit/c3e59c1bc58b43c4b8e33e7d170ad33a08fbc3c7)) -## [1.0.6](https://github.com/uptrace/bun/compare/v1.0.5...v1.0.6) (2021-09-11) +## [1.0.6](https://github.com/carautenbach/bun/compare/v1.0.5...v1.0.6) (2021-09-11) ### Bug Fixes - change unique tag to create a separate unique constraint - ([8401615](https://github.com/uptrace/bun/commit/84016155a77ca77613cc054277fefadae3098757)) + ([8401615](https://github.com/carautenbach/bun/commit/84016155a77ca77613cc054277fefadae3098757)) - improve zero checker for ptr values - ([2b3623d](https://github.com/uptrace/bun/commit/2b3623dd665d873911fd20ca707016929921e862)) + ([2b3623d](https://github.com/carautenbach/bun/commit/2b3623dd665d873911fd20ca707016929921e862)) ## v1.0.5 - Sep 09 2021 @@ -595,16 +633,16 @@ In v1.1.x, such options as `,nopk` and `,allowzero` will not be necessary and wi - Renamed `alias` field struct tag to `alt` so it is not confused with column alias. - Reworked migrate package API. See - [migrate](https://github.com/uptrace/bun/tree/master/example/migrate) example for details. + [migrate](https://github.com/carautenbach/bun/tree/master/example/migrate) example for details. ## v0.3.0 - Jul 09 2021 - Changed migrate package to return structured data instead of logging the progress. See - [migrate](https://github.com/uptrace/bun/tree/master/example/migrate) example for details. + [migrate](https://github.com/carautenbach/bun/tree/master/example/migrate) example for details. ## v0.2.14 - Jul 01 2021 -- Added [sqliteshim](https://pkg.go.dev/github.com/uptrace/bun/driver/sqliteshim) by +- Added [sqliteshim](https://pkg.go.dev/github.com/carautenbach/bun/driver/sqliteshim) by [Ivan Trubach](https://github.com/tie). - Added support for MySQL 5.7 in addition to MySQL 8. diff --git a/README.md b/README.md index 07a01aa61..44a84f293 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SQL-first Golang ORM for PostgreSQL, MySQL, MSSQL, and SQLite -[![build workflow](https://github.com/uptrace/bun/actions/workflows/build.yml/badge.svg)](https://github.com/uptrace/bun/actions) +[![build workflow](https://github.com/carautenbach/bun/actions/workflows/build.yml/badge.svg)](https://github.com/carautenbach/bun/actions) [![PkgGoDev](https://pkg.go.dev/badge/github.com/uptrace/bun)](https://pkg.go.dev/github.com/uptrace/bun) [![Documentation](https://img.shields.io/badge/bun-documentation-informational)](https://bun.uptrace.dev/) [![Chat](https://discordapp.com/api/guilds/752070105847955518/widget.png)](https://discord.gg/rWtp5Aj) @@ -31,8 +31,8 @@ ### Resources - [**Get started**](https://bun.uptrace.dev/guide/golang-orm.html) -- [Examples](https://github.com/uptrace/bun/tree/master/example) -- [Discussions](https://github.com/uptrace/bun/discussions) +- [Examples](https://github.com/carautenbach/bun/tree/master/example) +- [Discussions](https://github.com/carautenbach/bun/discussions) - [Chat](https://discord.gg/rWtp5Aj) - [Reference](https://pkg.go.dev/github.com/uptrace/bun) - [Starter kit](https://github.com/go-bun/bun-starter-kit) @@ -58,7 +58,7 @@ Wrote a tutorial for Bun? Create a PR to add here and on [Bun](https://bun.uptra - [penguin-statistics](https://github.com/penguin-statistics/backend-next) - Penguin Statistics v3 Backend. - And - [hundreds more](https://github.com/uptrace/bun/network/dependents?package_id=UGFja2FnZS0yMjkxOTc4OTA4). + [hundreds more](https://github.com/carautenbach/bun/network/dependents?package_id=UGFja2FnZS0yMjkxOTc4OTA4). ## Why another database client? @@ -139,6 +139,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for some hints. And thanks to all the people who already contributed! - + diff --git a/bun.go b/bun.go index 923be3116..476d5d5eb 100644 --- a/bun.go +++ b/bun.go @@ -3,8 +3,8 @@ package bun import ( "context" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type ( diff --git a/db.go b/db.go index 106dfe905..3b3181584 100644 --- a/db.go +++ b/db.go @@ -10,9 +10,9 @@ import ( "strings" "sync/atomic" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) const ( diff --git a/dbfixture/fixture.go b/dbfixture/fixture.go index 0d84d5d18..2c1ba9c00 100644 --- a/dbfixture/fixture.go +++ b/dbfixture/fixture.go @@ -17,7 +17,7 @@ import ( "gopkg.in/yaml.v3" "github.com/uptrace/bun" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) var ( diff --git a/dbfixture/go.mod b/dbfixture/go.mod index eefcef2dd..de8188fd9 100644 --- a/dbfixture/go.mod +++ b/dbfixture/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/dbfixture +module github.com/carautenbach/bun/dbfixture go 1.18 diff --git a/dialect/append.go b/dialect/append.go index 0a25ee22d..bbe7fb9fc 100644 --- a/dialect/append.go +++ b/dialect/append.go @@ -4,7 +4,7 @@ import ( "math" "strconv" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/internal" ) func AppendError(b []byte, err error) []byte { diff --git a/dialect/feature/feature.go b/dialect/feature/feature.go index e311394d5..49907f8b5 100644 --- a/dialect/feature/feature.go +++ b/dialect/feature/feature.go @@ -1,6 +1,6 @@ package feature -import "github.com/uptrace/bun/internal" +import "github.com/carautenbach/bun/internal" type Feature = internal.Flag diff --git a/dialect/mssqldialect/dialect.go b/dialect/mssqldialect/dialect.go index a56eb0c29..02bc30aad 100755 --- a/dialect/mssqldialect/dialect.go +++ b/dialect/mssqldialect/dialect.go @@ -12,10 +12,10 @@ import ( "golang.org/x/mod/semver" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/schema" ) const ( diff --git a/dialect/mssqldialect/go.mod b/dialect/mssqldialect/go.mod index 67cebe474..4ff172c77 100755 --- a/dialect/mssqldialect/go.mod +++ b/dialect/mssqldialect/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/dialect/mssqldialect +module github.com/carautenbach/bun/dialect/mssqldialect go 1.18 diff --git a/dialect/mssqldialect/scan.go b/dialect/mssqldialect/scan.go index e01f3f4b6..efd8ffa30 100755 --- a/dialect/mssqldialect/scan.go +++ b/dialect/mssqldialect/scan.go @@ -3,7 +3,7 @@ package mssqldialect import ( "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func scanner(typ reflect.Type) schema.ScannerFunc { diff --git a/dialect/mysqldialect/dialect.go b/dialect/mysqldialect/dialect.go index 9e9032e2c..7e65befce 100644 --- a/dialect/mysqldialect/dialect.go +++ b/dialect/mysqldialect/dialect.go @@ -12,10 +12,10 @@ import ( "golang.org/x/mod/semver" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/schema" ) const datetimeType = "DATETIME" diff --git a/dialect/mysqldialect/go.mod b/dialect/mysqldialect/go.mod index 018787fe7..64a92f976 100644 --- a/dialect/mysqldialect/go.mod +++ b/dialect/mysqldialect/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/dialect/mysqldialect +module github.com/carautenbach/bun/dialect/mysqldialect go 1.18 diff --git a/dialect/mysqldialect/scan.go b/dialect/mysqldialect/scan.go index 7a6af7f40..b300e67ac 100644 --- a/dialect/mysqldialect/scan.go +++ b/dialect/mysqldialect/scan.go @@ -3,7 +3,7 @@ package mysqldialect import ( "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func scanner(typ reflect.Type) schema.ScannerFunc { diff --git a/dialect/pgdialect/append.go b/dialect/pgdialect/append.go index 75798b385..347140337 100644 --- a/dialect/pgdialect/append.go +++ b/dialect/pgdialect/append.go @@ -9,8 +9,8 @@ import ( "time" "unicode/utf8" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/schema" ) var ( diff --git a/dialect/pgdialect/array.go b/dialect/pgdialect/array.go index 281cff733..7797513db 100644 --- a/dialect/pgdialect/array.go +++ b/dialect/pgdialect/array.go @@ -5,7 +5,7 @@ import ( "fmt" "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type ArrayValue struct { diff --git a/dialect/pgdialect/array_scan.go b/dialect/pgdialect/array_scan.go index a8ff29715..48627094d 100644 --- a/dialect/pgdialect/array_scan.go +++ b/dialect/pgdialect/array_scan.go @@ -6,8 +6,8 @@ import ( "reflect" "strconv" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) func arrayScanner(typ reflect.Type) schema.ScannerFunc { diff --git a/dialect/pgdialect/dialect.go b/dialect/pgdialect/dialect.go index 6ff85e166..7850c0bd0 100644 --- a/dialect/pgdialect/dialect.go +++ b/dialect/pgdialect/dialect.go @@ -7,10 +7,10 @@ import ( "strings" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/schema" ) var pgDialect = New() diff --git a/dialect/pgdialect/go.mod b/dialect/pgdialect/go.mod index 4837fa886..7a9c30786 100644 --- a/dialect/pgdialect/go.mod +++ b/dialect/pgdialect/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/dialect/pgdialect +module github.com/carautenbach/bun/dialect/pgdialect go 1.18 diff --git a/dialect/pgdialect/hstore.go b/dialect/pgdialect/hstore.go index 029f7cb6d..4fa7cef50 100644 --- a/dialect/pgdialect/hstore.go +++ b/dialect/pgdialect/hstore.go @@ -5,7 +5,7 @@ import ( "fmt" "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type HStoreValue struct { diff --git a/dialect/pgdialect/hstore_scan.go b/dialect/pgdialect/hstore_scan.go index b10b06b8d..b0f1eef3d 100644 --- a/dialect/pgdialect/hstore_scan.go +++ b/dialect/pgdialect/hstore_scan.go @@ -5,7 +5,7 @@ import ( "io" "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func hstoreScanner(typ reflect.Type) schema.ScannerFunc { diff --git a/dialect/pgdialect/scan.go b/dialect/pgdialect/scan.go index e06bb8bc2..2486ae3c1 100644 --- a/dialect/pgdialect/scan.go +++ b/dialect/pgdialect/scan.go @@ -3,7 +3,7 @@ package pgdialect import ( "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func scanner(typ reflect.Type) schema.ScannerFunc { diff --git a/dialect/pgdialect/sqltype.go b/dialect/pgdialect/sqltype.go index dadea5c1c..d79b3b43f 100644 --- a/dialect/pgdialect/sqltype.go +++ b/dialect/pgdialect/sqltype.go @@ -5,8 +5,8 @@ import ( "net" "reflect" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/schema" ) const ( diff --git a/dialect/sqlitedialect/dialect.go b/dialect/sqlitedialect/dialect.go index 3c809e7a7..6daec651c 100644 --- a/dialect/sqlitedialect/dialect.go +++ b/dialect/sqlitedialect/dialect.go @@ -6,10 +6,10 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/schema" ) func init() { diff --git a/dialect/sqlitedialect/go.mod b/dialect/sqlitedialect/go.mod index 407191bf2..300724bf2 100644 --- a/dialect/sqlitedialect/go.mod +++ b/dialect/sqlitedialect/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/dialect/sqlitedialect +module github.com/carautenbach/bun/dialect/sqlitedialect go 1.18 diff --git a/dialect/sqlitedialect/scan.go b/dialect/sqlitedialect/scan.go index f6f02b55a..1d4cd6896 100644 --- a/dialect/sqlitedialect/scan.go +++ b/dialect/sqlitedialect/scan.go @@ -3,7 +3,7 @@ package sqlitedialect import ( "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func scanner(typ reflect.Type) schema.ScannerFunc { diff --git a/driver/pgdriver/README.md b/driver/pgdriver/README.md index a6974ee49..bc5d64c3f 100644 --- a/driver/pgdriver/README.md +++ b/driver/pgdriver/README.md @@ -1,19 +1,19 @@ # pgdriver -[![PkgGoDev](https://pkg.go.dev/badge/github.com/uptrace/bun/driver/pgdriver)](https://pkg.go.dev/github.com/uptrace/bun/driver/pgdriver) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/carautenbach/bun/driver/pgdriver)](https://pkg.go.dev/github.com/carautenbach/bun/driver/pgdriver) pgdriver is a database/sql driver for PostgreSQL based on [go-pg](https://github.com/go-pg/pg) code. You can install it with: ```shell -go get github.com/uptrace/bun/driver/pgdriver +go get github.com/carautenbach/bun/driver/pgdriver ``` And then create a `sql.DB` using it: ```go -import _ "github.com/uptrace/bun/driver/pgdriver" +import _ "github.com/carautenbach/bun/driver/pgdriver" dsn := "postgres://postgres:@localhost:5432/test" db, err := sql.Open("pg", dsn) diff --git a/driver/pgdriver/config_test.go b/driver/pgdriver/config_test.go index 5afc5e09b..25a5ae7ad 100644 --- a/driver/pgdriver/config_test.go +++ b/driver/pgdriver/config_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/stretchr/testify/require" - "github.com/uptrace/bun/driver/pgdriver" + "github.com/carautenbach/bun/driver/pgdriver" ) func TestParseDSN(t *testing.T) { diff --git a/driver/pgdriver/driver_test.go b/driver/pgdriver/driver_test.go index 00daa7a84..184e26b6e 100644 --- a/driver/pgdriver/driver_test.go +++ b/driver/pgdriver/driver_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/uptrace/bun/driver/pgdriver" + "github.com/carautenbach/bun/driver/pgdriver" ) func BenchmarkExec(b *testing.B) { diff --git a/driver/pgdriver/go.mod b/driver/pgdriver/go.mod index de384bebe..e160d6018 100644 --- a/driver/pgdriver/go.mod +++ b/driver/pgdriver/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/driver/pgdriver +module github.com/carautenbach/bun/driver/pgdriver go 1.18 diff --git a/driver/sqliteshim/README.md b/driver/sqliteshim/README.md index 248ea3086..3bfdbbeb3 100644 --- a/driver/sqliteshim/README.md +++ b/driver/sqliteshim/README.md @@ -1,6 +1,6 @@ # sqliteshim -[![PkgGoDev](https://pkg.go.dev/badge/github.com/uptrace/bun/driver/sqliteshim)](https://pkg.go.dev/github.com/uptrace/bun/driver/sqliteshim) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/carautenbach/bun/driver/sqliteshim)](https://pkg.go.dev/github.com/carautenbach/bun/driver/sqliteshim) sqliteshim automatically imports [modernc.org/sqlite](https://modernc.org/sqlite/) or [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) depending on your platform. @@ -15,7 +15,7 @@ Otherwise it registers a driver that returns an error on unsupported platforms. You can install sqliteshim with: ```shell -go get github.com/uptrace/bun/driver/sqliteshim +go get github.com/carautenbach/bun/driver/sqliteshim ``` And then create a `sql.DB`: diff --git a/driver/sqliteshim/go.mod b/driver/sqliteshim/go.mod index 419b2548e..138fe0afa 100644 --- a/driver/sqliteshim/go.mod +++ b/driver/sqliteshim/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/driver/sqliteshim +module github.com/carautenbach/bun/driver/sqliteshim go 1.18 diff --git a/driver/sqliteshim/sqliteshim_test.go b/driver/sqliteshim/sqliteshim_test.go index f82fe7da4..ac7b15a1a 100644 --- a/driver/sqliteshim/sqliteshim_test.go +++ b/driver/sqliteshim/sqliteshim_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/uptrace/bun/driver/sqliteshim" + "github.com/carautenbach/bun/driver/sqliteshim" ) func TestShim(t *testing.T) { diff --git a/example/basic/go.mod b/example/basic/go.mod index f561bc5e1..b1bb03aaa 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -1,22 +1,22 @@ -module github.com/uptrace/bun/example/basic +module github.com/carautenbach/bun/example/basic go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/basic/main.go b/example/basic/main.go index 72b5dfe57..60bcfcf01 100644 --- a/example/basic/main.go +++ b/example/basic/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/create-table-index/go.mod b/example/create-table-index/go.mod index b849a7cbc..a2f12c19b 100644 --- a/example/create-table-index/go.mod +++ b/example/create-table-index/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/create-table-index +module github.com/carautenbach/bun/example/create-table-index go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/create-table-index/main.go b/example/create-table-index/main.go index e4edd166c..1e038d549 100644 --- a/example/create-table-index/main.go +++ b/example/create-table-index/main.go @@ -5,9 +5,9 @@ import ( "database/sql" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Book struct { diff --git a/example/cursor-pagination/go.mod b/example/cursor-pagination/go.mod index ef49359a0..336d297d4 100644 --- a/example/cursor-pagination/go.mod +++ b/example/cursor-pagination/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/cursor-pagination +module github.com/carautenbach/bun/example/cursor-pagination go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/cursor-pagination/main.go b/example/cursor-pagination/main.go index 2d50f20d8..7b6106f38 100644 --- a/example/cursor-pagination/main.go +++ b/example/cursor-pagination/main.go @@ -7,9 +7,9 @@ import ( "sort" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/custom-type/go.mod b/example/custom-type/go.mod index 42e16cb2e..3dba56396 100644 --- a/example/custom-type/go.mod +++ b/example/custom-type/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/custom-type +module github.com/carautenbach/bun/example/custom-type go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/custom-type/main.go b/example/custom-type/main.go index b8e3ad1dd..6a94adfbc 100644 --- a/example/custom-type/main.go +++ b/example/custom-type/main.go @@ -8,9 +8,9 @@ import ( "time" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/fixture/go.mod b/example/fixture/go.mod index 5133ca421..cd8262239 100644 --- a/example/fixture/go.mod +++ b/example/fixture/go.mod @@ -1,23 +1,23 @@ -module github.com/uptrace/bun/example/fixture +module github.com/carautenbach/bun/example/fixture go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dbfixture v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dbfixture v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/fixture/main.go b/example/fixture/main.go index acccdc205..a5cbf8343 100644 --- a/example/fixture/main.go +++ b/example/fixture/main.go @@ -9,10 +9,10 @@ import ( "time" "github.com/uptrace/bun" - "github.com/uptrace/bun/dbfixture" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dbfixture" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type User struct { diff --git a/example/get-where-fields/go.mod b/example/get-where-fields/go.mod index 0b29fbcc6..9f5ca42ec 100644 --- a/example/get-where-fields/go.mod +++ b/example/get-where-fields/go.mod @@ -1,21 +1,21 @@ -module github.com/uptrace/bun/example/get-where-fields +module github.com/carautenbach/bun/example/get-where-fields go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 ) require ( diff --git a/example/get-where-fields/main.go b/example/get-where-fields/main.go index cf2bfed3b..daff61d06 100644 --- a/example/get-where-fields/main.go +++ b/example/get-where-fields/main.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" ) type Item struct { diff --git a/example/migrate/go.mod b/example/migrate/go.mod index 8ca3013cf..899e73ff7 100644 --- a/example/migrate/go.mod +++ b/example/migrate/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/migrate +module github.com/carautenbach/bun/example/migrate go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 github.com/urfave/cli/v2 v2.23.7 ) diff --git a/example/migrate/main.go b/example/migrate/main.go index 92142e5ee..01464a74e 100644 --- a/example/migrate/main.go +++ b/example/migrate/main.go @@ -7,11 +7,11 @@ import ( "os" "strings" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/example/migrate/migrations" - "github.com/uptrace/bun/extra/bundebug" - "github.com/uptrace/bun/migrate" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/example/migrate/migrations" + "github.com/carautenbach/bun/extra/bundebug" + "github.com/carautenbach/bun/migrate" "github.com/urfave/cli/v2" diff --git a/example/migrate/migrations/main.go b/example/migrate/migrations/main.go index 781c88d56..bcd614b74 100644 --- a/example/migrate/migrations/main.go +++ b/example/migrate/migrations/main.go @@ -1,6 +1,6 @@ package migrations -import "github.com/uptrace/bun/migrate" +import "github.com/carautenbach/bun/migrate" var Migrations = migrate.NewMigrations() diff --git a/example/model-hooks/go.mod b/example/model-hooks/go.mod index 2234ad7ae..6571f3c13 100644 --- a/example/model-hooks/go.mod +++ b/example/model-hooks/go.mod @@ -1,23 +1,23 @@ -module github.com/uptrace/bun/example/model-hooks +module github.com/carautenbach/bun/example/model-hooks go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/model-hooks/main.go b/example/model-hooks/main.go index 8ecede28b..5973b67de 100644 --- a/example/model-hooks/main.go +++ b/example/model-hooks/main.go @@ -7,9 +7,9 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/multi-tenant/go.mod b/example/multi-tenant/go.mod index ca633bf9c..9b272160c 100644 --- a/example/multi-tenant/go.mod +++ b/example/multi-tenant/go.mod @@ -1,24 +1,24 @@ -module github.com/uptrace/bun/example/multi-tenant +module github.com/carautenbach/bun/example/multi-tenant go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dbfixture v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dbfixture v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/multi-tenant/main.go b/example/multi-tenant/main.go index aeb8a4212..a52cf08c9 100644 --- a/example/multi-tenant/main.go +++ b/example/multi-tenant/main.go @@ -8,10 +8,10 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/uptrace/bun" - "github.com/uptrace/bun/dbfixture" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dbfixture" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/opentelemetry/client.go b/example/opentelemetry/client.go index a35c78e35..92af0cf26 100644 --- a/example/opentelemetry/client.go +++ b/example/opentelemetry/client.go @@ -8,15 +8,15 @@ import ( "github.com/brianvoe/gofakeit/v5" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/driver/pgdriver" - "github.com/uptrace/bun/extra/bunotel" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/driver/pgdriver" + "github.com/carautenbach/bun/extra/bunotel" "github.com/uptrace/uptrace-go/uptrace" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/codes" ) -var tracer = otel.Tracer("github.com/uptrace/bun/example/opentelemetry") +var tracer = otel.Tracer("github.com/carautenbach/bun/example/opentelemetry") func main() { ctx := context.Background() diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index 87822af76..3880609a0 100644 --- a/example/opentelemetry/go.mod +++ b/example/opentelemetry/go.mod @@ -1,25 +1,25 @@ -module github.com/uptrace/bun/example/opentelemetry +module github.com/carautenbach/bun/example/opentelemetry go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/extra/bunotel => ../../extra/bunotel +replace github.com/carautenbach/bun/extra/bunotel => ../../extra/bunotel -replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect +replace github.com/carautenbach/bun/dialect/pgdialect => ../../dialect/pgdialect -replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver +replace github.com/carautenbach/bun/driver/pgdriver => ../../driver/pgdriver require ( github.com/brianvoe/gofakeit/v5 v5.11.2 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/pgdialect v1.1.10 - github.com/uptrace/bun/driver/pgdriver v1.1.10 - github.com/uptrace/bun/extra/bunotel v1.1.10 + github.com/carautenbach/bun/dialect/pgdialect v1.1.10 + github.com/carautenbach/bun/driver/pgdriver v1.1.10 + github.com/carautenbach/bun/extra/bunotel v1.1.10 github.com/uptrace/uptrace-go v1.11.8 go.opentelemetry.io/otel v1.11.2 ) diff --git a/example/pg-faceted-search/go.mod b/example/pg-faceted-search/go.mod index 0f41ae3da..0f5e8397d 100644 --- a/example/pg-faceted-search/go.mod +++ b/example/pg-faceted-search/go.mod @@ -1,24 +1,24 @@ -module github.com/uptrace/bun/example/pg-faceted-search +module github.com/carautenbach/bun/example/pg-faceted-search go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver +replace github.com/carautenbach/bun/driver/pgdriver => ../../driver/pgdriver -replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect +replace github.com/carautenbach/bun/dialect/pgdialect => ../../dialect/pgdialect require ( github.com/davecgh/go-spew v1.1.1 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dbfixture v1.1.10 - github.com/uptrace/bun/dialect/pgdialect v1.1.10 - github.com/uptrace/bun/driver/pgdriver v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dbfixture v1.1.10 + github.com/carautenbach/bun/dialect/pgdialect v1.1.10 + github.com/carautenbach/bun/driver/pgdriver v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/pg-faceted-search/main.go b/example/pg-faceted-search/main.go index fea6db73a..19a02da06 100644 --- a/example/pg-faceted-search/main.go +++ b/example/pg-faceted-search/main.go @@ -9,10 +9,10 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/uptrace/bun" - "github.com/uptrace/bun/dbfixture" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/driver/pgdriver" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dbfixture" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/driver/pgdriver" + "github.com/carautenbach/bun/extra/bundebug" ) type Book struct { diff --git a/example/pg-listen/go.mod b/example/pg-listen/go.mod index 81b26b8df..9ed0c43ad 100644 --- a/example/pg-listen/go.mod +++ b/example/pg-listen/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/pg-listen +module github.com/carautenbach/bun/example/pg-listen go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver +replace github.com/carautenbach/bun/driver/pgdriver => ../../driver/pgdriver -replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect +replace github.com/carautenbach/bun/dialect/pgdialect => ../../dialect/pgdialect require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/pgdialect v1.1.10 - github.com/uptrace/bun/driver/pgdriver v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/pgdialect v1.1.10 + github.com/carautenbach/bun/driver/pgdriver v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/pg-listen/main.go b/example/pg-listen/main.go index 30e508dcf..91dfb6e99 100644 --- a/example/pg-listen/main.go +++ b/example/pg-listen/main.go @@ -7,9 +7,9 @@ import ( "time" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/driver/pgdriver" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/driver/pgdriver" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/placeholders/go.mod b/example/placeholders/go.mod index 4256d2472..fab09609f 100644 --- a/example/placeholders/go.mod +++ b/example/placeholders/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/placeholders +module github.com/carautenbach/bun/example/placeholders go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/placeholders/main.go b/example/placeholders/main.go index 069817a57..751b6d236 100644 --- a/example/placeholders/main.go +++ b/example/placeholders/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type User struct { diff --git a/example/rel-belongs-to/go.mod b/example/rel-belongs-to/go.mod index 1d5223ec9..2ee926b52 100644 --- a/example/rel-belongs-to/go.mod +++ b/example/rel-belongs-to/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-belongs-to +module github.com/carautenbach/bun/example/rel-belongs-to go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-belongs-to/main.go b/example/rel-belongs-to/main.go index ff1227739..9218cf3cd 100644 --- a/example/rel-belongs-to/main.go +++ b/example/rel-belongs-to/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Profile struct { diff --git a/example/rel-has-many-polymorphic/go.mod b/example/rel-has-many-polymorphic/go.mod index 4317b2361..aec800e9e 100644 --- a/example/rel-has-many-polymorphic/go.mod +++ b/example/rel-has-many-polymorphic/go.mod @@ -1,24 +1,24 @@ -module github.com/uptrace/bun/example/rel-has-many-polymorphic +module github.com/carautenbach/bun/example/rel-has-many-polymorphic go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/davecgh/go-spew v1.1.1 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dbfixture v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dbfixture v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-many-polymorphic/main.go b/example/rel-has-many-polymorphic/main.go index 3478994d3..f35262b91 100644 --- a/example/rel-has-many-polymorphic/main.go +++ b/example/rel-has-many-polymorphic/main.go @@ -7,10 +7,10 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/uptrace/bun" - "github.com/uptrace/bun/dbfixture" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dbfixture" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Comment struct { diff --git a/example/rel-has-many/go.mod b/example/rel-has-many/go.mod index 985a58f50..bfb75f78e 100644 --- a/example/rel-has-many/go.mod +++ b/example/rel-has-many/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-has-many +module github.com/carautenbach/bun/example/rel-has-many go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-many/main.go b/example/rel-has-many/main.go index ab258f365..d1a020d47 100644 --- a/example/rel-has-many/main.go +++ b/example/rel-has-many/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Profile struct { diff --git a/example/rel-has-one/go.mod b/example/rel-has-one/go.mod index bf9d8e9da..b0ef01438 100644 --- a/example/rel-has-one/go.mod +++ b/example/rel-has-one/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-has-one +module github.com/carautenbach/bun/example/rel-has-one go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-has-one/main.go b/example/rel-has-one/main.go index 7e8d4c6ff..846ae414d 100644 --- a/example/rel-has-one/main.go +++ b/example/rel-has-one/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) // Profile belongs to User. diff --git a/example/rel-join-condition/go.mod b/example/rel-join-condition/go.mod index b9b6f3567..2ac379356 100644 --- a/example/rel-join-condition/go.mod +++ b/example/rel-join-condition/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-join-condition +module github.com/carautenbach/bun/example/rel-join-condition go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-join-condition/main.go b/example/rel-join-condition/main.go index a132cf46b..4434a3cb3 100644 --- a/example/rel-join-condition/main.go +++ b/example/rel-join-condition/main.go @@ -5,9 +5,9 @@ import ( "database/sql" "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Profile struct { diff --git a/example/rel-many-to-many-self/go.mod b/example/rel-many-to-many-self/go.mod index 56d729572..5620c0079 100644 --- a/example/rel-many-to-many-self/go.mod +++ b/example/rel-many-to-many-self/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-many-to-many-self +module github.com/carautenbach/bun/example/rel-many-to-many-self go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-many-to-many-self/main.go b/example/rel-many-to-many-self/main.go index e9c057151..3dc99a19e 100644 --- a/example/rel-many-to-many-self/main.go +++ b/example/rel-many-to-many-self/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Item struct { diff --git a/example/rel-many-to-many/go.mod b/example/rel-many-to-many/go.mod index 8d1472a5d..0c640a6e0 100644 --- a/example/rel-many-to-many/go.mod +++ b/example/rel-many-to-many/go.mod @@ -1,20 +1,20 @@ -module github.com/uptrace/bun/example/rel-many-to-many +module github.com/carautenbach/bun/example/rel-many-to-many go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/rel-many-to-many/main.go b/example/rel-many-to-many/main.go index 90cea02bc..b1282156e 100644 --- a/example/rel-many-to-many/main.go +++ b/example/rel-many-to-many/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) type Order struct { diff --git a/example/string-representation/go.mod b/example/string-representation/go.mod index 983c827fa..61d432d15 100644 --- a/example/string-representation/go.mod +++ b/example/string-representation/go.mod @@ -1,19 +1,19 @@ -module github.com/uptrace/bun/example/string-representation +module github.com/carautenbach/bun/example/string-representation go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 ) require ( diff --git a/example/string-representation/main.go b/example/string-representation/main.go index f2e70a615..ec234c7b6 100644 --- a/example/string-representation/main.go +++ b/example/string-representation/main.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" ) type Item struct { diff --git a/example/trivial/go.mod b/example/trivial/go.mod index 450d6ac8d..19995e78f 100644 --- a/example/trivial/go.mod +++ b/example/trivial/go.mod @@ -1,34 +1,34 @@ -module github.com/uptrace/bun/example/trivial +module github.com/carautenbach/bun/example/trivial go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim -replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect +replace github.com/carautenbach/bun/dialect/pgdialect => ../../dialect/pgdialect -replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver +replace github.com/carautenbach/bun/driver/pgdriver => ../../driver/pgdriver -replace github.com/uptrace/bun/dialect/mysqldialect => ../../dialect/mysqldialect +replace github.com/carautenbach/bun/dialect/mysqldialect => ../../dialect/mysqldialect -replace github.com/uptrace/bun/dialect/mssqldialect => ../../dialect/mssqldialect +replace github.com/carautenbach/bun/dialect/mssqldialect => ../../dialect/mssqldialect require ( github.com/denisenkom/go-mssqldb v0.12.3 github.com/go-sql-driver/mysql v1.7.0 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/mssqldialect v1.1.10 - github.com/uptrace/bun/dialect/mysqldialect v1.1.10 - github.com/uptrace/bun/dialect/pgdialect v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/pgdriver v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/mssqldialect v1.1.10 + github.com/carautenbach/bun/dialect/mysqldialect v1.1.10 + github.com/carautenbach/bun/dialect/pgdialect v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/pgdriver v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/trivial/mssql/main.go b/example/trivial/mssql/main.go index d9913104c..107e68b9f 100644 --- a/example/trivial/mssql/main.go +++ b/example/trivial/mssql/main.go @@ -7,8 +7,8 @@ import ( _ "github.com/denisenkom/go-mssqldb" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/mssqldialect" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/mssqldialect" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/trivial/mysql/main.go b/example/trivial/mysql/main.go index 2aff66a65..4580595aa 100644 --- a/example/trivial/mysql/main.go +++ b/example/trivial/mysql/main.go @@ -7,8 +7,8 @@ import ( _ "github.com/go-sql-driver/mysql" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/mysqldialect" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/mysqldialect" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/trivial/postgres/main.go b/example/trivial/postgres/main.go index e765debf6..f382ce32f 100644 --- a/example/trivial/postgres/main.go +++ b/example/trivial/postgres/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/driver/pgdriver" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/driver/pgdriver" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/trivial/sqlite/main.go b/example/trivial/sqlite/main.go index 3a4c7c7e4..f05319a7e 100644 --- a/example/trivial/sqlite/main.go +++ b/example/trivial/sqlite/main.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/example/tx-composition/go.mod b/example/tx-composition/go.mod index 9bf0ba141..29ff2da70 100644 --- a/example/tx-composition/go.mod +++ b/example/tx-composition/go.mod @@ -1,22 +1,22 @@ -module github.com/uptrace/bun/example/tx-composition +module github.com/carautenbach/bun/example/tx-composition go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim require ( github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/example/tx-composition/main.go b/example/tx-composition/main.go index 5edf3c7dc..8b934f855 100644 --- a/example/tx-composition/main.go +++ b/example/tx-composition/main.go @@ -5,9 +5,9 @@ import ( "database/sql" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" ) func main() { diff --git a/extra/bunbig/go.mod b/extra/bunbig/go.mod index 031280d99..da5a2fca8 100644 --- a/extra/bunbig/go.mod +++ b/extra/bunbig/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/extra/bunbig +module github.com/carautenbach/bun/extra/bunbig go 1.18 diff --git a/extra/bunbig/int_test.go b/extra/bunbig/int_test.go index e3aa4ecdf..d6b869186 100644 --- a/extra/bunbig/int_test.go +++ b/extra/bunbig/int_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "github.com/uptrace/bun/extra/bunbig" + "github.com/carautenbach/bun/extra/bunbig" "gopkg.in/yaml.v3" ) diff --git a/extra/bundebug/go.mod b/extra/bundebug/go.mod index 7a2fb3b24..2edc3cad7 100644 --- a/extra/bundebug/go.mod +++ b/extra/bundebug/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/extra/bundebug +module github.com/carautenbach/bun/extra/bundebug go 1.18 diff --git a/extra/bunotel/go.mod b/extra/bunotel/go.mod index afe57ca0f..1d77a32d2 100644 --- a/extra/bunotel/go.mod +++ b/extra/bunotel/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/extra/bunotel +module github.com/carautenbach/bun/extra/bunotel go 1.18 diff --git a/extra/bunotel/otel.go b/extra/bunotel/otel.go index 051a192b6..8376a1e5e 100644 --- a/extra/bunotel/otel.go +++ b/extra/bunotel/otel.go @@ -16,8 +16,8 @@ import ( "go.opentelemetry.io/otel/trace" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/schema" "github.com/uptrace/opentelemetry-go-extra/otelsql" ) diff --git a/extra/bunrelic/go.mod b/extra/bunrelic/go.mod index 2bf888996..ce256e286 100644 --- a/extra/bunrelic/go.mod +++ b/extra/bunrelic/go.mod @@ -1,4 +1,4 @@ -module github.com/uptrace/bun/extra/bunrelic +module github.com/carautenbach/bun/extra/bunrelic go 1.18 diff --git a/hook.go b/hook.go index 016f06a1a..01c545e21 100644 --- a/hook.go +++ b/hook.go @@ -8,7 +8,7 @@ import ( "time" "unicode" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type QueryEvent struct { diff --git a/internal/dbtest/db_test.go b/internal/dbtest/db_test.go index 36662b28f..3f188cd5a 100644 --- a/internal/dbtest/db_test.go +++ b/internal/dbtest/db_test.go @@ -15,15 +15,15 @@ import ( "time" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/mssqldialect" - "github.com/uptrace/bun/dialect/mysqldialect" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/dialect/sqlitedialect" - "github.com/uptrace/bun/driver/pgdriver" - "github.com/uptrace/bun/driver/sqliteshim" - "github.com/uptrace/bun/extra/bundebug" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/mssqldialect" + "github.com/carautenbach/bun/dialect/mysqldialect" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/dialect/sqlitedialect" + "github.com/carautenbach/bun/driver/pgdriver" + "github.com/carautenbach/bun/driver/sqliteshim" + "github.com/carautenbach/bun/extra/bundebug" _ "github.com/denisenkom/go-mssqldb" _ "github.com/go-sql-driver/mysql" diff --git a/internal/dbtest/go.mod b/internal/dbtest/go.mod index 28b885b78..9ff917148 100644 --- a/internal/dbtest/go.mod +++ b/internal/dbtest/go.mod @@ -1,24 +1,24 @@ -module github.com/uptrace/bun/internal/dbtest +module github.com/carautenbach/bun/internal/dbtest go 1.18 replace github.com/uptrace/bun => ../.. -replace github.com/uptrace/bun/dbfixture => ../../dbfixture +replace github.com/carautenbach/bun/dbfixture => ../../dbfixture -replace github.com/uptrace/bun/dialect/pgdialect => ../../dialect/pgdialect +replace github.com/carautenbach/bun/dialect/pgdialect => ../../dialect/pgdialect -replace github.com/uptrace/bun/driver/pgdriver => ../../driver/pgdriver +replace github.com/carautenbach/bun/driver/pgdriver => ../../driver/pgdriver -replace github.com/uptrace/bun/driver/sqliteshim => ../../driver/sqliteshim +replace github.com/carautenbach/bun/driver/sqliteshim => ../../driver/sqliteshim -replace github.com/uptrace/bun/dialect/mysqldialect => ../../dialect/mysqldialect +replace github.com/carautenbach/bun/dialect/mysqldialect => ../../dialect/mysqldialect -replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect +replace github.com/carautenbach/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect -replace github.com/uptrace/bun/dialect/mssqldialect => ../../dialect/mssqldialect +replace github.com/carautenbach/bun/dialect/mssqldialect => ../../dialect/mssqldialect -replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug +replace github.com/carautenbach/bun/extra/bundebug => ../../extra/bundebug require ( github.com/bradleyjkemp/cupaloy v2.3.0+incompatible @@ -29,14 +29,14 @@ require ( github.com/jackc/pgx/v4 v4.11.0 github.com/stretchr/testify v1.8.1 github.com/uptrace/bun v1.1.10 - github.com/uptrace/bun/dbfixture v1.1.10 - github.com/uptrace/bun/dialect/mssqldialect v1.1.10 - github.com/uptrace/bun/dialect/mysqldialect v1.1.10 - github.com/uptrace/bun/dialect/pgdialect v1.1.10 - github.com/uptrace/bun/dialect/sqlitedialect v1.1.10 - github.com/uptrace/bun/driver/pgdriver v1.1.10 - github.com/uptrace/bun/driver/sqliteshim v1.1.10 - github.com/uptrace/bun/extra/bundebug v1.1.10 + github.com/carautenbach/bun/dbfixture v1.1.10 + github.com/carautenbach/bun/dialect/mssqldialect v1.1.10 + github.com/carautenbach/bun/dialect/mysqldialect v1.1.10 + github.com/carautenbach/bun/dialect/pgdialect v1.1.10 + github.com/carautenbach/bun/dialect/sqlitedialect v1.1.10 + github.com/carautenbach/bun/driver/pgdriver v1.1.10 + github.com/carautenbach/bun/driver/sqliteshim v1.1.10 + github.com/carautenbach/bun/extra/bundebug v1.1.10 ) require ( diff --git a/internal/dbtest/listener_test.go b/internal/dbtest/listener_test.go index 2e775f7b4..06994a0d3 100644 --- a/internal/dbtest/listener_test.go +++ b/internal/dbtest/listener_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/uptrace/bun/driver/pgdriver" + "github.com/carautenbach/bun/driver/pgdriver" ) func TestListenerReceive(t *testing.T) { diff --git a/internal/dbtest/migrate_test.go b/internal/dbtest/migrate_test.go index 7ef513775..032bb8082 100644 --- a/internal/dbtest/migrate_test.go +++ b/internal/dbtest/migrate_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" "github.com/uptrace/bun" - "github.com/uptrace/bun/migrate" + "github.com/carautenbach/bun/migrate" ) func TestMigrate(t *testing.T) { diff --git a/internal/dbtest/orm_test.go b/internal/dbtest/orm_test.go index 8edacdc3c..9de36d11e 100644 --- a/internal/dbtest/orm_test.go +++ b/internal/dbtest/orm_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/require" "github.com/uptrace/bun" - "github.com/uptrace/bun/dbfixture" - "github.com/uptrace/bun/dialect/feature" + "github.com/carautenbach/bun/dbfixture" + "github.com/carautenbach/bun/dialect/feature" ) func TestORM(t *testing.T) { diff --git a/internal/dbtest/pg_test.go b/internal/dbtest/pg_test.go index 4521f11b3..0e489ec37 100644 --- a/internal/dbtest/pg_test.go +++ b/internal/dbtest/pg_test.go @@ -15,8 +15,8 @@ import ( "github.com/stretchr/testify/require" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/pgdialect" - "github.com/uptrace/bun/driver/pgdriver" + "github.com/carautenbach/bun/dialect/pgdialect" + "github.com/carautenbach/bun/driver/pgdriver" ) func TestPostgresArray(t *testing.T) { diff --git a/internal/dbtest/query_hook_test.go b/internal/dbtest/query_hook_test.go index 36d9a5c0a..a13a625ab 100644 --- a/internal/dbtest/query_hook_test.go +++ b/internal/dbtest/query_hook_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "github.com/uptrace/bun" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func TestQueryHook(t *testing.T) { diff --git a/internal/dbtest/query_test.go b/internal/dbtest/query_test.go index 24cfd9195..2366b30db 100644 --- a/internal/dbtest/query_test.go +++ b/internal/dbtest/query_test.go @@ -11,7 +11,7 @@ import ( "github.com/bradleyjkemp/cupaloy" "github.com/uptrace/bun" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) func init() { diff --git a/internal/dbtest/soft_delete_test.go b/internal/dbtest/soft_delete_test.go index b8714ddfc..27af77b46 100644 --- a/internal/dbtest/soft_delete_test.go +++ b/internal/dbtest/soft_delete_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "github.com/uptrace/bun" - "github.com/uptrace/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/feature" ) func TestSoftDelete(t *testing.T) { diff --git a/internal/parser/parser.go b/internal/parser/parser.go index cdfc0be16..7ba1898b9 100644 --- a/internal/parser/parser.go +++ b/internal/parser/parser.go @@ -4,7 +4,7 @@ import ( "bytes" "strconv" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/internal" ) type Parser struct { diff --git a/internal/tagparser/parser_test.go b/internal/tagparser/parser_test.go index 90eb33d31..e0363ebd1 100644 --- a/internal/tagparser/parser_test.go +++ b/internal/tagparser/parser_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/uptrace/bun/internal/tagparser" + "github.com/carautenbach/bun/internal/tagparser" ) var tagTests = []struct { diff --git a/model.go b/model.go index 6ad4d8efe..0c88e1ca7 100644 --- a/model.go +++ b/model.go @@ -8,7 +8,7 @@ import ( "reflect" "time" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) var errNilModel = errors.New("bun: Model(nil)") diff --git a/model_map.go b/model_map.go index 814d636e6..12d2506d1 100644 --- a/model_map.go +++ b/model_map.go @@ -6,7 +6,7 @@ import ( "reflect" "sort" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type mapModel struct { diff --git a/model_map_slice.go b/model_map_slice.go index 1e96c898c..a83ceef82 100644 --- a/model_map_slice.go +++ b/model_map_slice.go @@ -6,8 +6,8 @@ import ( "errors" "sort" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/schema" ) type mapSliceModel struct { diff --git a/model_scan.go b/model_scan.go index 48149c4b6..4459e5a11 100644 --- a/model_scan.go +++ b/model_scan.go @@ -5,7 +5,7 @@ import ( "database/sql" "reflect" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type scanModel struct { diff --git a/model_slice.go b/model_slice.go index bc29db41f..2ac6b362c 100644 --- a/model_slice.go +++ b/model_slice.go @@ -5,8 +5,8 @@ import ( "database/sql" "reflect" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type sliceInfo struct { diff --git a/model_table_has_many.go b/model_table_has_many.go index 4db3ec121..b52b4a5ea 100644 --- a/model_table_has_many.go +++ b/model_table_has_many.go @@ -6,8 +6,8 @@ import ( "fmt" "reflect" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type hasManyModel struct { diff --git a/model_table_m2m.go b/model_table_m2m.go index 88d8a1268..eb6f209c9 100644 --- a/model_table_m2m.go +++ b/model_table_m2m.go @@ -6,8 +6,8 @@ import ( "fmt" "reflect" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type m2mModel struct { diff --git a/model_table_slice.go b/model_table_slice.go index b49e0ce03..fbd469454 100644 --- a/model_table_slice.go +++ b/model_table_slice.go @@ -6,8 +6,8 @@ import ( "reflect" "time" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type sliceTableModel struct { diff --git a/model_table_struct.go b/model_table_struct.go index fadc9284c..74c9e6ede 100644 --- a/model_table_struct.go +++ b/model_table_struct.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type structTableModel struct { diff --git a/query_base.go b/query_base.go index 9df70d1f4..352551629 100644 --- a/query_base.go +++ b/query_base.go @@ -8,9 +8,9 @@ import ( "fmt" "time" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) const ( diff --git a/query_column_add.go b/query_column_add.go index 32a21338e..9d0172cc7 100644 --- a/query_column_add.go +++ b/query_column_add.go @@ -5,8 +5,8 @@ import ( "database/sql" "fmt" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type AddColumnQuery struct { diff --git a/query_column_drop.go b/query_column_drop.go index 1439ed9b9..a30b286c0 100644 --- a/query_column_drop.go +++ b/query_column_drop.go @@ -5,8 +5,8 @@ import ( "database/sql" "fmt" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type DropColumnQuery struct { diff --git a/query_delete.go b/query_delete.go index 49a750cc8..891efee25 100644 --- a/query_delete.go +++ b/query_delete.go @@ -5,9 +5,9 @@ import ( "database/sql" "time" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type DeleteQuery struct { diff --git a/query_index_create.go b/query_index_create.go index 11824cfa4..fe1954aff 100644 --- a/query_index_create.go +++ b/query_index_create.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type CreateIndexQuery struct { diff --git a/query_index_drop.go b/query_index_drop.go index ae28e7956..ae56182a2 100644 --- a/query_index_drop.go +++ b/query_index_drop.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type DropIndexQuery struct { diff --git a/query_insert.go b/query_insert.go index 7cf053756..20d473c46 100644 --- a/query_insert.go +++ b/query_insert.go @@ -7,9 +7,9 @@ import ( "reflect" "strings" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type InsertQuery struct { diff --git a/query_merge.go b/query_merge.go index 706dc20ae..48329ae56 100644 --- a/query_merge.go +++ b/query_merge.go @@ -5,10 +5,10 @@ import ( "database/sql" "errors" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type MergeQuery struct { diff --git a/query_raw.go b/query_raw.go index 7afa4d536..c3bcdf6d3 100644 --- a/query_raw.go +++ b/query_raw.go @@ -3,7 +3,7 @@ package bun import ( "context" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/schema" ) type RawQuery struct { diff --git a/query_select.go b/query_select.go index a24a9f6f1..b5f209ba9 100644 --- a/query_select.go +++ b/query_select.go @@ -10,11 +10,11 @@ import ( "strings" "sync" - "github.com/uptrace/bun/dialect" + "github.com/carautenbach/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type union struct { diff --git a/query_table_create.go b/query_table_create.go index 518dbfd1c..da646f9f9 100644 --- a/query_table_create.go +++ b/query_table_create.go @@ -8,10 +8,10 @@ import ( "strconv" "strings" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type CreateTableQuery struct { diff --git a/query_table_drop.go b/query_table_drop.go index e4447a8d2..9e6951f52 100644 --- a/query_table_drop.go +++ b/query_table_drop.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type DropTableQuery struct { diff --git a/query_table_truncate.go b/query_table_truncate.go index a704b7b10..1e04ee332 100644 --- a/query_table_truncate.go +++ b/query_table_truncate.go @@ -4,9 +4,9 @@ import ( "context" "database/sql" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type TruncateTableQuery struct { diff --git a/query_update.go b/query_update.go index 708bcfbce..9a0749e31 100644 --- a/query_update.go +++ b/query_update.go @@ -6,11 +6,11 @@ import ( "errors" "fmt" - "github.com/uptrace/bun/dialect" + "github.com/carautenbach/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type UpdateQuery struct { diff --git a/query_values.go b/query_values.go index 5c2abef60..715bdd836 100644 --- a/query_values.go +++ b/query_values.go @@ -5,8 +5,8 @@ import ( "reflect" "strconv" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/schema" ) type ValuesQuery struct { diff --git a/relation_join.go b/relation_join.go index 200f6758a..2508d7dbd 100644 --- a/relation_join.go +++ b/relation_join.go @@ -5,9 +5,9 @@ import ( "reflect" "time" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/schema" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/schema" ) type relationJoin struct { diff --git a/schema/append.go b/schema/append.go index 04538c036..3a9c3fa32 100644 --- a/schema/append.go +++ b/schema/append.go @@ -6,7 +6,7 @@ import ( "strconv" "time" - "github.com/uptrace/bun/dialect" + "github.com/carautenbach/bun/dialect" ) func Append(fmter Formatter, b []byte, v interface{}) []byte { diff --git a/schema/append_value.go b/schema/append_value.go index 9f0782e0f..639e0f5a8 100644 --- a/schema/append_value.go +++ b/schema/append_value.go @@ -10,10 +10,10 @@ import ( "sync" "time" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/extra/bunjson" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/extra/bunjson" + "github.com/carautenbach/bun/internal" "github.com/vmihailenco/msgpack/v5" ) diff --git a/schema/dialect.go b/schema/dialect.go index fea8238dc..fb7535620 100644 --- a/schema/dialect.go +++ b/schema/dialect.go @@ -7,9 +7,9 @@ import ( "time" "unicode/utf8" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal/parser" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal/parser" ) type Dialect interface { diff --git a/schema/field.go b/schema/field.go index 283a3b992..d9bc4d547 100644 --- a/schema/field.go +++ b/schema/field.go @@ -4,8 +4,8 @@ import ( "fmt" "reflect" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/internal/tagparser" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/internal/tagparser" ) type Field struct { diff --git a/schema/formatter.go b/schema/formatter.go index 1fba1b59e..c1630609e 100644 --- a/schema/formatter.go +++ b/schema/formatter.go @@ -5,10 +5,10 @@ import ( "strconv" "strings" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/feature" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/internal/parser" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/feature" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/internal/parser" ) var nopFormatter = Formatter{ diff --git a/schema/scan.go b/schema/scan.go index 96b31caf3..62a5df525 100644 --- a/schema/scan.go +++ b/schema/scan.go @@ -13,9 +13,9 @@ import ( "github.com/vmihailenco/msgpack/v5" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/extra/bunjson" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/extra/bunjson" + "github.com/carautenbach/bun/internal" ) var scannerType = reflect.TypeOf((*sql.Scanner)(nil)).Elem() diff --git a/schema/sqlfmt.go b/schema/sqlfmt.go index a4ed24af6..d849a4f7a 100644 --- a/schema/sqlfmt.go +++ b/schema/sqlfmt.go @@ -3,7 +3,7 @@ package schema import ( "strings" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/internal" ) type QueryAppender interface { diff --git a/schema/sqltype.go b/schema/sqltype.go index 233ba641b..26e09cc46 100644 --- a/schema/sqltype.go +++ b/schema/sqltype.go @@ -7,9 +7,9 @@ import ( "reflect" "time" - "github.com/uptrace/bun/dialect" - "github.com/uptrace/bun/dialect/sqltype" - "github.com/uptrace/bun/internal" + "github.com/carautenbach/bun/dialect" + "github.com/carautenbach/bun/dialect/sqltype" + "github.com/carautenbach/bun/internal" ) var ( diff --git a/schema/table.go b/schema/table.go index ed8c517c1..de8fd73ab 100644 --- a/schema/table.go +++ b/schema/table.go @@ -10,8 +10,8 @@ import ( "github.com/jinzhu/inflection" - "github.com/uptrace/bun/internal" - "github.com/uptrace/bun/internal/tagparser" + "github.com/carautenbach/bun/internal" + "github.com/carautenbach/bun/internal/tagparser" ) const (