Repository navigation
Add a Migrations page and local database servers - #301
Merged
Merged
Conversation
Migrations (Tools, palette): Prisma's _prisma_migrations and Drizzle's __drizzle_migrations read from the database, merged with the project's migration files: applied, pending, failed and rolled back, with the error log, the time each took, the SQL, and a flag when a file changed after it ran. Local servers (Tools, palette): Postgres, MySQL, MariaDB, Redis and MongoDB on this computer in any version, on Docker or native (Postgres downloaded per version and checksum-checked; MySQL, MariaDB, Redis and MongoDB from what's installed), plus Homebrew services. Start, stop, change port, logs, delete, and Open connects to it. Busy ports are refused before anything downloads.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrations (Tools → Migrations, palette): Prisma's
_prisma_migrationsand Drizzle's__drizzle_migrationsfrom the database, merged with the project's migration files (folder picked once per connection). Applied, pending, failed and rolled back, with the error log, duration, steps, the SQL, Open in editor, and a flag when a file changed after it ran (checksum).Local servers (Tools → Local servers, palette): Postgres, MySQL, MariaDB, Redis and MongoDB in any version, side by side. Docker (127.0.0.1 only, named volume) or native: Postgres downloaded per version from theseus-rs builds with the checksum checked, or the MySQL/MariaDB/Redis/MongoDB already installed. Homebrew services listed with Start/Stop. Busy ports are refused before any download and a free one is suggested; Postgres runs with no Unix socket (TCP only) so macOS's long Application Support path can't break it.
Tested in the app on Linux: native Postgres 17.12 created, moved to 5433, started and connected; a seeded Prisma project showed applied, failed (with log) and pending.