node-pg-migrate
Node.js database migration management for PostgreSQL (by salsita)
postgres-meta
A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries (by supabase)
node-pg-migrate | postgres-meta | |
---|---|---|
4 | 3 | |
1,394 | 1,103 | |
0.4% | 1.3% | |
9.4 | 8.8 | |
5 days ago | 14 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-pg-migrate
Posts with mentions or reviews of node-pg-migrate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-20.
-
Fully featured Repository Pattern with Typescript and native PostgreSQL driver
Why PG? For the clarity of the article to a large circle of developers, the entire explanation will be built by PostgreSQL and PG package. And in a real project, the database schema will change over time, and in order to be able to perform migrations, we will use Node PG migrate.
-
New to PostgreSQL - Best way to use it?
b) How you will manage schema migrations: every time you change tables, columns, foreign keys, every time you create or modify stored procedures, and so on, you need to do this through a migration. Here I'm at loss to recommend anything specific, but if you went with Prisma, I would read their docs and use whatever they are recommending you (if they actually recommend something). If you want something more neutral but still in the node ecosystem, node-pg-migrate might be the winner here? I'm not sure.
-
Postgres: What is the development process?
You’ll probably want something like this too: https://github.com/salsita/node-pg-migrate
-
The Architecture of a One-Man SaaS
You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true.
Here are some migration libraries:
Go - https://github.com/golang-migrate/migrate
Node - https://github.com/salsita/node-pg-migrate
postgres-meta
Posts with mentions or reviews of postgres-meta.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-08-20.
-
postgres.new: In-browser Postgres with an AI interface
Under the hood we use a browser-compatible version of postgres-metato load PGlite tables into JavaScript, then render them using the schema visualizer. For migrations, we scan through the chat history and concatenate all DDL-related SQL queries into a single view.
-
Supabase Needs Column Level Security
What grinds my gears it that someone actually started this process with a simple pull request: ADD CRUD permissions. Someone from Supabase said, "sure, no problem, we will work on this next week"... and nope, nothing. Then the PR was randomly closed yesterday! Why? No idea, no explanation. Granted, this was a simple PR and they could be rethinking an easier way to do this. But I digress.
-
Week 4 notes
I picked the first issue, which was a bug in the Supabase dashboard, where users could not edit a database column from a primary type to its array type. The dashboard was built with Nextjs and TailwindCSS, using the Supabase-UI components libraries. It looked like was a quick fix to me. After investigation, the error was not with the dashboard but it was an error of insufficient type handling of column type identifiers within the Posgres-Meta package, which was also written by Supabase Team. Then, I headed to the package upstream and fixed it. The PR got merged and released soon after.
What are some alternatives?
When comparing node-pg-migrate and postgres-meta you can also consider the following projects:
prawn-stack - A pageview counter using the AWS free tier, Postgres, Node and React
etl - Stream your Postgres data anywhere in real-time. Simple Rust building blocks for change data capture (CDC) pipelines.
blog - Opensource,Database,AI,Business,Minds. git clone --depth 1 https://github.com/digoal/blog
knex-types - Generate TypeScript definitions (types) from a PostgreSQL database schema.
sql-lint - An SQL linter
pg-gateway - Postgres wire protocol for the server-side