{"id":19301913,"url":"https://github.com/payloadcms/drizzle-test","last_synced_at":"2025-04-22T10:33:19.945Z","repository":{"id":183095949,"uuid":"663654484","full_name":"payloadcms/drizzle-test","owner":"payloadcms","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-29T01:33:16.000Z","size":392,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T22:24:02.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/payloadcms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-07T19:58:12.000Z","updated_at":"2024-03-02T06:58:31.000Z","dependencies_parsed_at":"2024-11-09T23:19:28.553Z","dependency_job_id":"8aba225c-9153-45ca-8302-2e50f71a1023","html_url":"https://github.com/payloadcms/drizzle-test","commit_stats":null,"previous_names":["payloadcms/drizzle-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fdrizzle-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fdrizzle-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fdrizzle-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fdrizzle-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payloadcms","download_url":"https://codeload.github.com/payloadcms/drizzle-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250221389,"owners_count":21394699,"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":[],"created_at":"2024-11-09T23:19:16.556Z","updated_at":"2025-04-22T10:33:19.821Z","avatar_url":"https://github.com/payloadcms.png","language":"TypeScript","readme":"# Payload + Drizzle Data Structure PoC\n\nThis repository showcases the work that the Payload team is performing in regards to how to map the Payload field schema to a relational database structure. It's built on top of Drizzle ORM.\n\nThe goals for this repository are as follows:\n\n1. Demonstrate how to map Payload fields and features over to a relational database structure\n1. Insert data of the correct shape into a database\n1. Retrieve the data that Payload APIs require in a performant fashion\n1. Transform the raw response from the database into the shape that Payload expects\n\n### SQLite\n\nWe've started with the \"lowest common denominator\" being SQLite, but once we have alignment on how to proceed, we will move on to Postgres.\n\n[Here is the code for our SQLite proof of concept](https://github.com/payloadcms/drizzle-test/tree/master/sqlite).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Fdrizzle-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayloadcms%2Fdrizzle-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Fdrizzle-test/lists"}