News for hackers. Stuff that matters.
Re:Prisma 2.0 – Type-safe and auto-generated database client by dirkc on Tuesday June 09, 2020 @06:22PM (#23471621)
I'm very glad to see work being done on db bindings, but until migrations reach the level of django/active record, I won't be using postgres + node.js seriously (again).
Re:Prisma 2.0 – Type-safe and auto-generated database client by albertoperdomo on Wednesday June 10, 2020 @06:29AM (#23475595)
I'm with the product team at Prisma.

Prisma Migrate is different from ActiveRecord migrations (which are very familiar with) because the DB schema is state-based. The Prisma schema file acts as source of truth and the DB schema will be migrated to match it.

Can you elaborate on what you would perceive as reaching the level of Django/ActiveRecord? I'd be interesting in specific aspects/items.

Re:Prisma 2.0 – Type-safe and auto-generated database client by dirkc on Thursday June 11, 2020 @11:50AM (#23490088)
That sounds great! I'm not super familiar with ActiveRecord, but I use Django migrations regularly. For me the things that stand out are

1. a declarative model - ie. defining the db schema rather than the migrations

2. auto generated migrations with the ability to customize

3. integration with tools for deployment and testing

You probably have a much better idea of the landscape, but reach out to Andrew Godwin [1], he wrote south and then rewrote it to become django migrations.

[1] - https://www.aeracode.org/

Re:Prisma 2.0 – Type-safe and auto-generated database client by albertgao on Wednesday June 10, 2020 @12:42AM (#23473991)
no worries, it's their goal :)