Skip to content

Conversation

@endersonmaia
Copy link
Contributor

@endersonmaia endersonmaia commented Mar 13, 2025

This is part of the effort to make the cli start faster.

EDIT: Don't think it's worth the effort of running migration during sdk build for now.

Things that could also be added to this PR but I'd like to open to discussion are:

  • run cartesi-rollups-cli db upgrade
  • rollups-graph migrations to /docker-entrypoint-initdb.d
  • espresso-reader migrations to /docker-entrypoint-initdb.d

See: #177

@endersonmaia endersonmaia changed the title dd initialized postgres database to SDK add initialized postgres database to SDK Mar 13, 2025
@endersonmaia endersonmaia requested a review from tuler March 13, 2025 17:26
@tuler
Copy link
Member

tuler commented Mar 13, 2025

https://github.com/docker-library/docs/blob/master/postgres/README.md#initialization-scripts

@endersonmaia endersonmaia mentioned this pull request Mar 13, 2025
4 tasks
@endersonmaia endersonmaia marked this pull request as ready for review March 13, 2025 19:50
@endersonmaia endersonmaia requested review from tuler and removed request for tuler March 13, 2025 19:50
@endersonmaia endersonmaia force-pushed the feature/add-initialized-postgres-database branch from 634a526 to 2f4bc69 Compare March 13, 2025 19:52
@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2025

🦋 Changeset detected

Latest commit: e59a754

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@endersonmaia endersonmaia self-assigned this Mar 14, 2025
@endersonmaia endersonmaia force-pushed the feature/add-initialized-postgres-database branch from 2f4bc69 to d748f20 Compare March 14, 2025 19:57
@endersonmaia endersonmaia force-pushed the feature/add-initialized-postgres-database branch from d748f20 to e59a754 Compare March 14, 2025 19:58
@endersonmaia endersonmaia merged commit e1ddfe9 into prerelease/v2-alpha Mar 14, 2025
2 checks passed
@endersonmaia endersonmaia deleted the feature/add-initialized-postgres-database branch March 14, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants