{"id":20390497,"url":"https://github.com/swlkr/trek","last_synced_at":"2026-04-19T01:36:39.236Z","repository":{"id":57714067,"uuid":"109217209","full_name":"swlkr/trek","owner":"swlkr","description":"Easy database migrations for clojure","archived":false,"fork":false,"pushed_at":"2017-11-08T05:01:19.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T03:46:05.655Z","etag":null,"topics":["clojure","database","migrations"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/swlkr.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}},"created_at":"2017-11-02T04:20:21.000Z","updated_at":"2017-11-05T10:18:45.000Z","dependencies_parsed_at":"2022-09-26T21:31:12.731Z","dependency_job_id":null,"html_url":"https://github.com/swlkr/trek","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/swlkr/trek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Ftrek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Ftrek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Ftrek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Ftrek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swlkr","download_url":"https://codeload.github.com/swlkr/trek/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Ftrek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"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":["clojure","database","migrations"],"created_at":"2024-11-15T03:25:26.022Z","updated_at":"2026-04-19T01:36:39.214Z","avatar_url":"https://github.com/swlkr.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trek\n\nEasy database migrations for clojure\n\n## Usage\n\nMigrations look like this\n\n```sql\n-- up\ncreate table posts (\n  id serial primary key,\n  title text not null,\n  body text not null,\n  created_at timestamp\n)\n\n-- down\ndrop table posts\n```\n\nMigrations live in resources/migrations\nThere is no lein plugin but you could use aliases with\nthe functions below:\n\n```clojure\n(migrate db-spec) ; applies all pending migrations in order\n(rollback db-spec) ; rolls one migration back\n(create \"create-users\" \"email:text\" \"password:text\") ; creates a migration file in resources/migrations\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswlkr%2Ftrek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswlkr%2Ftrek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswlkr%2Ftrek/lists"}