{"id":19689896,"url":"https://github.com/viniciusls/nodejs-db-migrations","last_synced_at":"2026-04-30T20:31:57.224Z","repository":{"id":57311924,"uuid":"171585549","full_name":"viniciusls/nodejs-db-migrations","owner":"viniciusls","description":"NodeJS package to generate and run database migrations","archived":false,"fork":false,"pushed_at":"2023-12-15T11:53:57.000Z","size":49,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-14T21:39:56.846Z","etag":null,"topics":["database","db2","migrations","mysql","nodejs","package"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viniciusls.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":"2019-02-20T02:22:51.000Z","updated_at":"2019-03-09T17:59:44.000Z","dependencies_parsed_at":"2025-01-10T08:33:41.628Z","dependency_job_id":"8893154e-1b71-4235-8634-acf486749600","html_url":"https://github.com/viniciusls/nodejs-db-migrations","commit_stats":{"total_commits":67,"total_committers":2,"mean_commits":33.5,"dds":"0.32835820895522383","last_synced_commit":"598f10ba1857903c1e1252a6bfb4c0d30b7b4e3b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/viniciusls/nodejs-db-migrations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciusls%2Fnodejs-db-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciusls%2Fnodejs-db-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciusls%2Fnodejs-db-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciusls%2Fnodejs-db-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viniciusls","download_url":"https://codeload.github.com/viniciusls/nodejs-db-migrations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viniciusls%2Fnodejs-db-migrations/sbom","scorecard":{"id":922528,"data":{"date":"2025-08-11","repo":{"name":"github.com/viniciusls/nodejs-db-migrations","commit":"598f10ba1857903c1e1252a6bfb4c0d30b7b4e3b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-xf7w-r453-m56c","Warn: Project is vulnerable to: GHSA-p77h-hv6g-fmfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T05:49:40.085Z","repository_id":57311924,"created_at":"2025-08-25T05:49:40.085Z","updated_at":"2025-08-25T05:49:40.085Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","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":["database","db2","migrations","mysql","nodejs","package"],"created_at":"2024-11-11T19:03:33.445Z","updated_at":"2026-04-30T20:31:57.210Z","avatar_url":"https://github.com/viniciusls.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-db-migrations\n![GitHub](https://img.shields.io/github/license/viniciusls/nodejs-db-migrations.svg)\n![npm](https://img.shields.io/npm/v/nodejs-db-migrations.svg)\n![node](https://img.shields.io/node/v/nodejs-db-migrations.svg)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/w/viniciusls/nodejs-db-migrations.svg)\n![GitHub contributors](https://img.shields.io/github/contributors/viniciusls/nodejs-db-migrations.svg)\n\nNodeJS package to generate and run database migrations\n\n## Summary\n- [Getting started](https://github.com/viniciusls/nodejs-db-migrations#getting-started)\n- [Supported databases](https://github.com/viniciusls/nodejs-db-migrations#supported-databases)\n- [Available methods](https://github.com/viniciusls/nodejs-db-migrations#available-methods)\n  - [help](https://github.com/viniciusls/nodejs-db-migrations#help)\n  - [install](https://github.com/viniciusls/nodejs-db-migrations#install)\n  - [migrate](https://github.com/viniciusls/nodejs-db-migrations#migrate)\n  - [new](https://github.com/viniciusls/nodejs-db-migrations#new)\n  - [refresh](https://github.com/viniciusls/nodejs-db-migrations#refresh)\n  - [reset](https://github.com/viniciusls/nodejs-db-migrations#reset)\n  - [rollback](https://github.com/viniciusls/nodejs-db-migrations#rollback)\n  - [version](https://github.com/viniciusls/nodejs-db-migrations#version)\n- [Contributing](https://github.com/viniciusls/nodejs-db-migrations#contributing)\n- [Need help](https://github.com/viniciusls/nodejs-db-migrations#need-help)\n\n## Getting started\n\n## Supported databases\n\nCurrently `nodejs-db-migrations` support the following databases:\n\n- MySQL;\n- DB2 (coming soon);\n\nIf you want to help us adding new databases support, you can start creating an adapter and a connector for that database inside `./lib/adapters` and `./lib/connectors`, respectively, with the name of the desired database and following the structure used in `mysql.js` adapter and connector, for example.\n\n## Available methods\n\n### help\n\nShow all commands and options available and its descriptions.\n\n### install\n\nCreate the package needed migrations and execute then\n\n### migrate\n\nExecute pending migration(s)\n\n### new(name : string [optional])\n\nCreate a new migration. If a name is specified the migrate will follow the convention `\u003cgenerated_id\u003e_\u003cname\u003e.js`\n\n### refresh\n\nRollback all the database and re-run all the migrations\n\n### reset\n\nRollback all migrations executed\n\n### rollback\n\nRollback the last migration executed\n\n### version\n\nShow the current package version\n\n## Contributing\n\n## Need help?\nIf you need more help, feel free to open an issue here or send an email to [vinicius.ls@live.com](mailto:vinicius.ls@live.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniciusls%2Fnodejs-db-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviniciusls%2Fnodejs-db-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviniciusls%2Fnodejs-db-migrations/lists"}