{"id":17055139,"url":"https://github.com/deriegle/turso-migrate","last_synced_at":"2026-05-04T14:32:24.005Z","repository":{"id":232510596,"uuid":"784531924","full_name":"deriegle/turso-migrate","owner":"deriegle","description":"CLI Tool for quick and easy migrations on Turso","archived":false,"fork":false,"pushed_at":"2024-04-10T03:40:47.000Z","size":42,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-24T15:24:30.634Z","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/deriegle.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}},"created_at":"2024-04-10T03:07:18.000Z","updated_at":"2024-04-10T03:17:36.000Z","dependencies_parsed_at":"2024-04-10T04:59:51.031Z","dependency_job_id":"cf8be4a6-0064-4135-aa61-44026622e7c3","html_url":"https://github.com/deriegle/turso-migrate","commit_stats":null,"previous_names":["deriegle/turso-migrate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deriegle/turso-migrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deriegle%2Fturso-migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deriegle%2Fturso-migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deriegle%2Fturso-migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deriegle%2Fturso-migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deriegle","download_url":"https://codeload.github.com/deriegle/turso-migrate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deriegle%2Fturso-migrate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32611661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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-10-14T10:17:07.630Z","updated_at":"2026-05-04T14:32:23.990Z","avatar_url":"https://github.com/deriegle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@deriegle/turso-migrate`\n\nThis is a CLI tool to easy and quickly run SQL migrations against Turso in a predictable way.\n\n**This tool is still currently a work in progress and is not advised to be used against a production database.**\n\n## Commands\n\n### Create\n\nThis command will create a new migration file in the migrations folder you specify. You can provide an optional name if you'd like to name the migration file. It will be prefixed with the current unix timestamp. If no name is provided, a random name will be generated.\n\n```bin\nUsage: @deriegle/turso-migrate create [options] [name]\n\nCreate a new migration file\n\nArguments:\n  name                         Name of the migration file\n\nOptions:\n  -f, --migrationsFolder \u003cpath\u003e  Path to migrations folder\n  -h, --help                   display help for command\n```\n\n### Migrate Command\n\nThis command will create a new migration file in the migrations folder you specify. You can provide an optional name if you'd like to name the migration file. It will be prefixed with the current unix timestamp. If no name is provided, a random name will be generated.\n\n```bin\nUsage: @deriegle/turso-migrate migrate [options]\n\nMigrates the database\n\nOptions:\n  -d, --databaseUrl \u003cdatabaseUrl\u003e      Turso Database URL\n  -a, --databaseAuthToken \u003cauthToken\u003e  Turso Database Auth Token\n  -f, --migrationsFolder \u003cpath\u003e  Path to migrations folder\n  -h, --help                           display help for command\n```\n\n### Resolve Command\n\nThis command can be used to resolve issues with migrations.\n\n```bin\nUsage: @deriegle/turso-migrate resolve [options]\n\nUpdates a migration file status. This can be useful to mark a migration as complete manually or pending if you want to run it again.\n\nOptions:\n  -d, --databaseUrl \u003cdatabaseUrl\u003e      Turso Database URL\n  -a, --databaseAuthToken \u003cauthToken\u003e  Turso Database Auth Token\n  -f, --migrationsFolder \u003cpath\u003e  Path to migrations folder\n  --completed \u003cmigrationName\u003e          Migration to mark as completed\n  --pending \u003cmigrationName\u003e            Migration to mark as pending\n  -h, --help                           display help for command\n```\n\n### Status Command\n\nThis command will print a table of the status of your current migrations.\n\n```bin\nUsage: @deriegle/turso-migrate status [options]\n\nShows the status of migrations\n\nOptions:\n  -d, --databaseUrl \u003cdatabaseUrl\u003e      Turso Database URL\n  -a, --databaseAuthToken \u003cauthToken\u003e  Turso Database Auth Token\n  -f, --migrationsFolder \u003cpath\u003e  Path to migrations folder\n  -h, --help                           display help for command\n```\n\n### Help Command\n\nCommand to print our help for available commands.\n\n```bin\nUsage: @deriegle/turso-migrate [options] [command]\n\nCLI tool to make migrations in Turso easier.\n\nOptions:\n  -V, --version            output the version number\n  -h, --help               display help for command\n\nCommands:\n  create [options] [name]  Create a new migration file\n  migrate [options]        Migrates the database\n  resolve [options]        Updates a migration file status. This can be useful to mark a migration as complete manually or pending if you want to\n                           run it again.\n  status [options]         Shows the status of migrations\n  help [command]           display help for command\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderiegle%2Fturso-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderiegle%2Fturso-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderiegle%2Fturso-migrate/lists"}