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 #1290 issue running migrations #1585

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

charlesbrandt
Copy link
Contributor

Description

In issue #1290 folks report difficulty running migrations on an existing instance. The current migration table includes a name column, but no id column:

CREATE TABLE IF NOT EXISTS migrations (
  name VARCHAR(255)  PRIMARY KEY,
  executed_at TIMESTAMPTZ DEFAULT current_timestamp
);

By changing the migrations.sh script to use the name field, the migrations run as expected.

Checklist before requesting a review

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code

Copy link

vercel bot commented Nov 4, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2023 2:07pm

Copy link

vercel bot commented Nov 4, 2023

@charlesbrandt is attempting to deploy a commit to the Quivr-app Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the area: scripts Related to ad-hoc scripts, SQL migrations, or under the /scripts directory label Nov 4, 2023
@StanGirard StanGirard merged commit 0d3e925 into QuivrHQ:main Nov 4, 2023
2 of 4 checks passed
mamadoudicko pushed a commit that referenced this pull request Nov 6, 2023
🤖 I have created a release *beep* *boop*
---


## 0.0.105 (2023-11-06)

## What's Changed
* feat: make auth mode configurable by @mamadoudicko in
#1579
* Fix #1290 issue running migrations by @charlesbrandt in
#1585
* Use 'unless-stopped' instead of 'always' for development by
@charlesbrandt in #1586
* feat: 🎸 vps by @StanGirard in
#1587
* Update vps_install.md for subdomain by @jbeltran73-2 in
#1589

## New Contributors
* @charlesbrandt made their first contribution in
#1585
* @jbeltran73-2 made their first contribution in
#1589

**Full Changelog**:
v0.0.104...v0.0.105

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
coolCatalyst added a commit to coolCatalyst/quivr that referenced this pull request Jun 1, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.105 (2023-11-06)

## What's Changed
* feat: make auth mode configurable by @mamadoudicko in
QuivrHQ/quivr#1579
* Fix #1290 issue running migrations by @charlesbrandt in
QuivrHQ/quivr#1585
* Use 'unless-stopped' instead of 'always' for development by
@charlesbrandt in QuivrHQ/quivr#1586
* feat: 🎸 vps by @StanGirard in
QuivrHQ/quivr#1587
* Update vps_install.md for subdomain by @jbeltran73-2 in
QuivrHQ/quivr#1589

## New Contributors
* @charlesbrandt made their first contribution in
QuivrHQ/quivr#1585
* @jbeltran73-2 made their first contribution in
QuivrHQ/quivr#1589

**Full Changelog**:
QuivrHQ/quivr@v0.0.104...v0.0.105

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: scripts Related to ad-hoc scripts, SQL migrations, or under the /scripts directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants