Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ddl from exists table #172

Merged
merged 1 commit into from
Nov 22, 2023
Merged

fix ddl from exists table #172

merged 1 commit into from
Nov 22, 2023

Conversation

yx179971
Copy link
Contributor

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

indexRegex fix

User Case Description

cannot parse exists table with index when use:
g.ApplyBasic(g.GenerateAllTable()...)

@jinzhu jinzhu merged commit e64f7a5 into go-gorm:master Nov 22, 2023
4 checks passed
glebarez pushed a commit to glebarez/sqlite that referenced this pull request Dec 6, 2023
mergify bot pushed a commit to funeypot/funeypot that referenced this pull request Mar 14, 2024
Bumps [github.com/glebarez/sqlite](https://github.com/glebarez/sqlite)
from 1.10.0 to 1.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/glebarez/sqlite/releases">github.com/glebarez/sqlite's
releases</a>.</em></p>
<blockquote>
<h2>GORM 1.25.7 and upstream merge</h2>
<h2>What's Changed</h2>
<ul>
<li><code>go-gorm/sqlite#172</code><a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/110">glebarez/sqlite#110</a></li>
<li>build(deps): bump actions/setup-go from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/111">glebarez/sqlite#111</a></li>
<li>build(deps): bump dawidd6/action-download-artifact from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/112">glebarez/sqlite#112</a></li>
<li>build(deps): bump actions/upload-artifact from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/113">glebarez/sqlite#113</a></li>
<li>Merge upstream by <a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/127">glebarez/sqlite#127</a></li>
<li>build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/118">glebarez/sqlite#118</a></li>
<li>build(deps): bump actions/cache from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/116">glebarez/sqlite#116</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/glebarez/sqlite/commit/2051f80732bf378c7cd16d7325819d73823dd481"><code>2051f80</code></a>
build(deps): bump actions/cache from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1b64a747e90fd88cb8f29c8c007b143cc7823e72"><code>1b64a74</code></a>
build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/a871805cb6400c351d4abc89508fdb70bd135fc9"><code>a871805</code></a>
Merge upstream</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/75442272476f1b237c6a389084c69834e86fb80d"><code>7544227</code></a>
Update github action</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/00ab0122341030ba208f34251d62227ce63f7cd0"><code>00ab012</code></a>
fix: double quoted string literals in migrator (<a
href="https://redirect.github.com/glebarez/sqlite/issues/183">#183</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/87158cf45d30490dae730ec3861a33d8323380fe"><code>87158cf</code></a>
refactor: distinguish between Unique and UniqueIndex (<a
href="https://redirect.github.com/glebarez/sqlite/issues/156">#156</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/084ab1e90be6c9671ae476c5b45886347c8dc715"><code>084ab1e</code></a>
build(deps): bump actions/upload-artifact from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/0cc98c44a435ac64ca7cfed694d8e5a37d49c723"><code>0cc98c4</code></a>
build(deps): bump dawidd6/action-download-artifact from 2 to 3</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1d689f0c635b62674aec910f8c13ec3fe51ab0ec"><code>1d689f0</code></a>
build(deps): bump actions/setup-go from 4 to 5</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/869dd96541dc8dadabc0891ac6922e5f1b8ea726"><code>869dd96</code></a>
fix ddl from exists table (<a
href="https://redirect.github.com/glebarez/sqlite/issues/172">#172</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/glebarez/sqlite&package-manager=go_modules&previous-version=1.10.0&new-version=1.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
matt0x6F pushed a commit to matt0x6F/nukedit that referenced this pull request Mar 21, 2024
Bumps [github.com/glebarez/sqlite](https://github.com/glebarez/sqlite)
from 1.10.0 to 1.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/glebarez/sqlite/releases">github.com/glebarez/sqlite's
releases</a>.</em></p>
<blockquote>
<h2>GORM 1.25.7 and upstream merge</h2>
<h2>What's Changed</h2>
<ul>
<li><code>go-gorm/sqlite#172</code><a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/110">glebarez/sqlite#110</a></li>
<li>build(deps): bump actions/setup-go from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/111">glebarez/sqlite#111</a></li>
<li>build(deps): bump dawidd6/action-download-artifact from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/112">glebarez/sqlite#112</a></li>
<li>build(deps): bump actions/upload-artifact from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/113">glebarez/sqlite#113</a></li>
<li>Merge upstream by <a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/127">glebarez/sqlite#127</a></li>
<li>build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/118">glebarez/sqlite#118</a></li>
<li>build(deps): bump actions/cache from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/116">glebarez/sqlite#116</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/glebarez/sqlite/commit/2051f80732bf378c7cd16d7325819d73823dd481"><code>2051f80</code></a>
build(deps): bump actions/cache from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1b64a747e90fd88cb8f29c8c007b143cc7823e72"><code>1b64a74</code></a>
build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/a871805cb6400c351d4abc89508fdb70bd135fc9"><code>a871805</code></a>
Merge upstream</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/75442272476f1b237c6a389084c69834e86fb80d"><code>7544227</code></a>
Update github action</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/00ab0122341030ba208f34251d62227ce63f7cd0"><code>00ab012</code></a>
fix: double quoted string literals in migrator (<a
href="https://redirect.github.com/glebarez/sqlite/issues/183">#183</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/87158cf45d30490dae730ec3861a33d8323380fe"><code>87158cf</code></a>
refactor: distinguish between Unique and UniqueIndex (<a
href="https://redirect.github.com/glebarez/sqlite/issues/156">#156</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/084ab1e90be6c9671ae476c5b45886347c8dc715"><code>084ab1e</code></a>
build(deps): bump actions/upload-artifact from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/0cc98c44a435ac64ca7cfed694d8e5a37d49c723"><code>0cc98c4</code></a>
build(deps): bump dawidd6/action-download-artifact from 2 to 3</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1d689f0c635b62674aec910f8c13ec3fe51ab0ec"><code>1d689f0</code></a>
build(deps): bump actions/setup-go from 4 to 5</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/869dd96541dc8dadabc0891ac6922e5f1b8ea726"><code>869dd96</code></a>
fix ddl from exists table (<a
href="https://redirect.github.com/glebarez/sqlite/issues/172">#172</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/glebarez/sqlite&package-manager=go_modules&previous-version=1.10.0&new-version=1.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ryanbekhen added a commit to intama-oss/go-clean-architecture that referenced this pull request Mar 28, 2024
Bumps [github.com/glebarez/sqlite](https://github.com/glebarez/sqlite)
from 1.10.0 to 1.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/glebarez/sqlite/releases">github.com/glebarez/sqlite's
releases</a>.</em></p>
<blockquote>
<h2>GORM 1.25.7 and upstream merge</h2>
<h2>What's Changed</h2>
<ul>
<li><code>go-gorm/sqlite#172</code><a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/110">glebarez/sqlite#110</a></li>
<li>build(deps): bump actions/setup-go from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/111">glebarez/sqlite#111</a></li>
<li>build(deps): bump dawidd6/action-download-artifact from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/112">glebarez/sqlite#112</a></li>
<li>build(deps): bump actions/upload-artifact from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/113">glebarez/sqlite#113</a></li>
<li>Merge upstream by <a
href="https://github.com/glebarez"><code>@​glebarez</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/127">glebarez/sqlite#127</a></li>
<li>build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/118">glebarez/sqlite#118</a></li>
<li>build(deps): bump actions/cache from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/glebarez/sqlite/pull/116">glebarez/sqlite#116</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/glebarez/sqlite/commit/2051f80732bf378c7cd16d7325819d73823dd481"><code>2051f80</code></a>
build(deps): bump actions/cache from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1b64a747e90fd88cb8f29c8c007b143cc7823e72"><code>1b64a74</code></a>
build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.7</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/a871805cb6400c351d4abc89508fdb70bd135fc9"><code>a871805</code></a>
Merge upstream</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/75442272476f1b237c6a389084c69834e86fb80d"><code>7544227</code></a>
Update github action</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/00ab0122341030ba208f34251d62227ce63f7cd0"><code>00ab012</code></a>
fix: double quoted string literals in migrator (<a
href="https://redirect.github.com/glebarez/sqlite/issues/183">#183</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/87158cf45d30490dae730ec3861a33d8323380fe"><code>87158cf</code></a>
refactor: distinguish between Unique and UniqueIndex (<a
href="https://redirect.github.com/glebarez/sqlite/issues/156">#156</a>)</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/084ab1e90be6c9671ae476c5b45886347c8dc715"><code>084ab1e</code></a>
build(deps): bump actions/upload-artifact from 3 to 4</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/0cc98c44a435ac64ca7cfed694d8e5a37d49c723"><code>0cc98c4</code></a>
build(deps): bump dawidd6/action-download-artifact from 2 to 3</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/1d689f0c635b62674aec910f8c13ec3fe51ab0ec"><code>1d689f0</code></a>
build(deps): bump actions/setup-go from 4 to 5</li>
<li><a
href="https://github.com/glebarez/sqlite/commit/869dd96541dc8dadabc0891ac6922e5f1b8ea726"><code>869dd96</code></a>
fix ddl from exists table (<a
href="https://redirect.github.com/glebarez/sqlite/issues/172">#172</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/glebarez/sqlite&package-manager=go_modules&previous-version=1.10.0&new-version=1.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants