{"repo":"schemichq/schemic","free":true,"listed":false,"github":"https://github.com/schemichq/schemic","clone":"git clone https://github.com/schemichq/schemic.git","description":"Schemic — schema-as-code, types, and migrations for any database (TypeScript). Author with s.*, target SurrealDB or Postgres.","language":"TypeScript","stars":29,"topics":["cli","database","database-migrations","ddl","migrations","orm","postgres","schema","schema-as-code","schema-management"],"license":"MIT","category":"databases-storage","readme_excerpt":"Docs &nbsp;•&nbsp; Drivers &nbsp;•&nbsp; GitHub &nbsp; &nbsp; --- Schemic lets you define your database schema once in TypeScript — with the Zod API you already know — and turns that single definition into your database's native DDL, end-to-end types, and reviewable migrations. The engine and CLI are dialect-neutral ; each database is an installable driver , so the same schema targets any of them. One source of truth — no separate ORM model, no code generation, no drift. Drivers - @schemic/surrealdb — SurrealDB · available - @schemic/postgres — PostgreSQL · in progress More drivers are planned. The authoring API and the CLI are the same across every driver — only the generated DDL differs. Packages Package What it is --- --- @schemic/core The dialect-neutral engine: the Driver contract, the portable schema IR, and the migration / diff / snapshot engine. Zero dialect code. @schemic/cli The schemic / sc binary — also dialect-neutral; loads your driver from config.driver . @schemic/ A database driver: connection, authoring, and the dialect's DDL. See Drivers for the available ones. The workflow Author your schema, then drive it from the dialect-neutral CLI ( sc is the short alias): The authoring API and the DDL it generates are driver-specific — see your driver's README for the exact builders and output. Status Alpha ( 0.x ). APIs may still change. - [x] SurrealDB driver — the most complete · coverage - [ ] PostgreSQL driver — in progress · coverage - [ ] more drivers Developmen","default_branch":null,"files":null,"tree":[],"storefront":"/r/schemichq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/schemichq/schemic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}