{"id":20003076,"url":"https://github.com/myxogastria0808/cockroachdb-mytutorial","last_synced_at":"2026-05-25T16:02:23.723Z","repository":{"id":233026919,"uuid":"785805995","full_name":"Myxogastria0808/CockroachDB-mytutorial","owner":"Myxogastria0808","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-13T13:42:04.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T00:26:02.518Z","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":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Myxogastria0808.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-04-12T16:59:37.000Z","updated_at":"2024-12-25T12:04:00.000Z","dependencies_parsed_at":"2024-11-13T09:16:38.637Z","dependency_job_id":null,"html_url":"https://github.com/Myxogastria0808/CockroachDB-mytutorial","commit_stats":null,"previous_names":["myxogastria0808/cockroachdb-mytutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Myxogastria0808/CockroachDB-mytutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myxogastria0808%2FCockroachDB-mytutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myxogastria0808%2FCockroachDB-mytutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myxogastria0808%2FCockroachDB-mytutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myxogastria0808%2FCockroachDB-mytutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Myxogastria0808","download_url":"https://codeload.github.com/Myxogastria0808/CockroachDB-mytutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Myxogastria0808%2FCockroachDB-mytutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33482411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-13T05:24:11.380Z","updated_at":"2026-05-25T16:02:23.701Z","avatar_url":"https://github.com/Myxogastria0808.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CockroachDB × Prisma\r\n\r\n## Setup\r\n\r\n```shell\r\nyarn\r\nyarn compile\r\nyarn migrate\r\nyarn init:prisma\r\n```\r\n\r\n# CRUD 操作\r\n\r\n1. `index.ts`に操作内容を書く\r\n\r\n2. 以下のコマンド実行\r\n\r\n```shell\r\nyarn compile\r\nyarn start\r\n```\r\n\r\n# テーブル構造\r\n\r\n```mermaid\r\nerDiagram\r\n    SampleRecordId ||--|| Sample : autoincrement\r\n    SampleRecordId {\r\n        BigInt cockroachdbId PK, UK \"@id @default(autoincrement())\"\r\n        BigInit id UK \"@unique\"\r\n        Tag tag \"'LATEST' or 'OLD'\"\r\n        Sample sample \"actually Sample?\"\r\n    }\r\n    Sample {\r\n        BigInt cockroachdbId PK, UK \"@id @default(autoincrement())\"\r\n        String title\r\n        String content\r\n        BigInt id FK, UK \"@relation(fields: [id], references: [id]) @unique\"\r\n    }\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyxogastria0808%2Fcockroachdb-mytutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyxogastria0808%2Fcockroachdb-mytutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyxogastria0808%2Fcockroachdb-mytutorial/lists"}