{"id":49082461,"url":"https://github.com/satt-dots/pg18-uuidv7-example","last_synced_at":"2026-04-20T13:44:20.034Z","repository":{"id":316362236,"uuid":"1058459730","full_name":"satt-dots/pg18-uuidv7-example","owner":"satt-dots","description":"PostgreSQL 18 UUIDv7 Example","archived":false,"fork":false,"pushed_at":"2025-09-24T05:23:55.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T07:20:35.514Z","etag":null,"topics":["dbmate","example","postgresql","uuidv7"],"latest_commit_sha":null,"homepage":"https://github.com/satt-dots/pg18-uuidv7-example","language":"Shell","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/satt-dots.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-17T05:56:55.000Z","updated_at":"2025-09-24T05:22:54.000Z","dependencies_parsed_at":"2025-09-24T07:20:39.427Z","dependency_job_id":"4c1c736f-46f6-4ff9-9291-da664a2205c0","html_url":"https://github.com/satt-dots/pg18-uuidv7-example","commit_stats":null,"previous_names":["satt-dots/pg18-uuidv7-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/satt-dots/pg18-uuidv7-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satt-dots%2Fpg18-uuidv7-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satt-dots%2Fpg18-uuidv7-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satt-dots%2Fpg18-uuidv7-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satt-dots%2Fpg18-uuidv7-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satt-dots","download_url":"https://codeload.github.com/satt-dots/pg18-uuidv7-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satt-dots%2Fpg18-uuidv7-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dbmate","example","postgresql","uuidv7"],"created_at":"2026-04-20T13:44:19.247Z","updated_at":"2026-04-20T13:44:20.028Z","avatar_url":"https://github.com/satt-dots.png","language":"Shell","readme":"# PostgreSQL 18 UUIDv7 Example\n\n## 使い方\n\n### 前提\n\n- [Taskfile](https://taskfile.dev) がインストールされていること。\n- [mise](https://mise.jdx.dev) がインストールされていること。\n- [Docker](https://www.docker.com) がインストールされていること。\n\n### クイックスタート\n\n1. ツールをセットアップする。\n\n    ```bash\n    task setup\n    ```\n\n2. PostgreSQL サーバーを起動する。\n\n    ```bash\n    task pg:up\n    ```\n\n3. DB マイグレーションを実行する。\n\n    ```bash\n    task dm:run\n    ```\n\n4. サーバーに接続する。\n\n    ```bash\n    task pg:psql\n    ```\n\n5. テーブル一覧を表示する。\n\n    ```psql\n    testdb=# \\dt\n                    List of tables\n     Schema |       Name        | Type  |  Owner\n    --------+-------------------+-------+----------\n     public | schema_migrations | table | postgres\n     public | users             | table | postgres\n     (2 rows)\n    ```\n\n6. ランダムな UUIDv7 の値を生成する。\n\n    ````psql\n    testdb=# select uuidv7();\n                uuidv7\n    --------------------------------------\n    01995687-fd32-779d-a1f3-eb0cee7759d3\n    (1 row)\n    ````\n\n## 参考\n\n- [RFC 9562 - Universally Unique IDentifiers (UUIDs)](https://datatracker.ietf.org/doc/rfc9562/)\n- [PostgreSQL: Documentation: 18: 9.14. UUID Functions](https://www.postgresql.org/docs/18/functions-uuid.html)\n- [PostgreSQL: Documentation: 18: 8.12. UUID Type](https://www.postgresql.org/docs/18/datatype-uuid.html)\n- [UUIDv7 Comes to PostgreSQL 18](https://www.thenile.dev/blog/uuidv7)\n- [postgres - Official Image | Docker Hub](https://hub.docker.com/_/postgres)\n- [amacneil/dbmate: 🚀 A lightweight, framework-agnostic database migration tool.](https://github.com/amacneil/dbmate)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatt-dots%2Fpg18-uuidv7-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatt-dots%2Fpg18-uuidv7-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatt-dots%2Fpg18-uuidv7-example/lists"}