


In case of a simple Postgres app, itโs very hard to keep track of all the commands that were ran that led to the current schema of the table.

CREATE TABLE users (
id SERIAL PRIMARY KEY,
name VARCHAR(100),
email VARCHAR(100) UNIQUE NOT NULL
);
ALTER TABLE users
ADD COLUMN phone_number VARCHAR(15);
As your app grows, you will have a lot of these CREATE and ALTER commands.
ORMs (or more specifically Prisma) maintains all of these for you.