{"id":18913217,"url":"https://github.com/drizzle-team/drizzle-prisma-generator","last_synced_at":"2025-04-15T07:31:32.915Z","repository":{"id":239908548,"uuid":"800957797","full_name":"drizzle-team/drizzle-prisma-generator","owner":"drizzle-team","description":"Generate Drizzle schema from Prisma schema","archived":false,"fork":false,"pushed_at":"2024-08-13T15:19:49.000Z","size":71,"stargazers_count":20,"open_issues_count":13,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T08:24:47.642Z","etag":null,"topics":["database","drizzle-orm","mysql","nodejs","postgresql","prisma","sql","sqlite","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/drizzle-prisma-generator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drizzle-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-15T10:23:15.000Z","updated_at":"2025-03-25T16:41:08.000Z","dependencies_parsed_at":"2024-08-15T08:16:11.062Z","dependency_job_id":null,"html_url":"https://github.com/drizzle-team/drizzle-prisma-generator","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"d7a5ab9238dae9957324e637c690c19ed06984c5"},"previous_names":["sukairo-02/drizzle-prisma-generator"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzle-team%2Fdrizzle-prisma-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzle-team%2Fdrizzle-prisma-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzle-team%2Fdrizzle-prisma-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drizzle-team%2Fdrizzle-prisma-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drizzle-team","download_url":"https://codeload.github.com/drizzle-team/drizzle-prisma-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249026818,"owners_count":21200509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","drizzle-orm","mysql","nodejs","postgresql","prisma","sql","sqlite","typescript"],"created_at":"2024-11-08T10:06:11.798Z","updated_at":"2025-04-15T07:31:32.881Z","avatar_url":"https://github.com/drizzle-team.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drizzle Prisma Generator\n\nAutomatically generate Drizzle schema from Prisma schema\n\n## Usage\n\n-  Install generator: `pnpm add -D drizzle-prisma-generator`\n-  Add generator to prisma:  \n```Prisma\ngenerator drizzle {\n  provider = \"drizzle-prisma-generator\"\n  output = \"./src/schema.ts\"\n}\n```\n:warning: - if output doesn't end with `.ts`, it will be treated like a folder, and schema will be generated to `schema.ts` inside of it.  \n:warning: - binary types in `MySQL`, `PostgreSQL` are not yet supported by `drizzle-orm`, therefore will throw an error.  \n:warning: - generator only supports `postgresql`, `mysql`, `sqlite` data providers, others will throw an error.  \n\n-  Install `drizzle-orm`: `pnpm add drizzle-orm`  \n-  Import schema from specified output file\\folder  \n-  Congratulations, now you can use Drizzle ORM with generated schemas!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrizzle-team%2Fdrizzle-prisma-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrizzle-team%2Fdrizzle-prisma-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrizzle-team%2Fdrizzle-prisma-generator/lists"}