{"id":22327771,"url":"https://github.com/manadaym/pg-sql-migrations","last_synced_at":"2026-05-04T06:33:33.876Z","repository":{"id":97266899,"uuid":"450543538","full_name":"ManadayM/pg-sql-migrations","owner":"ManadayM","description":"Database migration scripts for social-network db.","archived":false,"fork":false,"pushed_at":"2022-01-22T13:38:16.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T08:13:14.089Z","etag":null,"topics":["migration","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ManadayM.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":"2022-01-21T15:30:16.000Z","updated_at":"2022-01-21T15:34:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a40f9ca9-988c-40c1-8a61-948e69d9e08e","html_url":"https://github.com/ManadayM/pg-sql-migrations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManadayM%2Fpg-sql-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManadayM%2Fpg-sql-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManadayM%2Fpg-sql-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManadayM%2Fpg-sql-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManadayM","download_url":"https://codeload.github.com/ManadayM/pg-sql-migrations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245599922,"owners_count":20642207,"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":["migration","postgresql","sql"],"created_at":"2024-12-04T03:10:33.978Z","updated_at":"2026-05-04T06:33:33.848Z","avatar_url":"https://github.com/ManadayM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgreSQL Schema Migrations\n\n## Create a new migration file\n\n```npm run migrate create table comments```\n\n### Run migration script to push changes\n```DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate up```\n\n### Run migration script to rollback changes\n```DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate down```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanadaym%2Fpg-sql-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanadaym%2Fpg-sql-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanadaym%2Fpg-sql-migrations/lists"}