{"id":27979229,"url":"https://github.com/infinitaslearning/marv-mssql-driver","last_synced_at":"2025-05-08T02:32:26.192Z","repository":{"id":35043708,"uuid":"200024774","full_name":"infinitaslearning/marv-mssql-driver","owner":"infinitaslearning","description":"MS SQL Driver for https://github.com/guidesmiths/marv","archived":false,"fork":false,"pushed_at":"2023-10-02T20:23:46.000Z","size":222,"stargazers_count":0,"open_issues_count":13,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-04T21:01:51.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/infinitaslearning.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":"2019-08-01T09:53:38.000Z","updated_at":"2019-08-01T12:03:50.000Z","dependencies_parsed_at":"2024-10-23T12:37:26.684Z","dependency_job_id":null,"html_url":"https://github.com/infinitaslearning/marv-mssql-driver","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"affd4f0293714c6c811940a0aff087c1dc1b8d74"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitaslearning%2Fmarv-mssql-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitaslearning%2Fmarv-mssql-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitaslearning%2Fmarv-mssql-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitaslearning%2Fmarv-mssql-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinitaslearning","download_url":"https://codeload.github.com/infinitaslearning/marv-mssql-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252986757,"owners_count":21836218,"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":[],"created_at":"2025-05-08T02:31:24.241Z","updated_at":"2025-05-08T02:32:26.178Z","avatar_url":"https://github.com/infinitaslearning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://img.shields.io/travis/infinitaslearning/marv-mssql-driver/master.svg)](https://travis-ci.org/infinitaslearning/marv-mssql-driver)\n[![Code Style](https://img.shields.io/badge/code%20style-imperative-brightgreen.svg)](https://github.com/guidesmiths/eslint-config-imperative)\n\n# marv-mssql-driver\nA SQL Server driver for [marv](https://www.npmjs.com/package/marv)\n\n\"If @cressie176 can do it, anyone can.\" Anon, 2019\n\n## Usage\n```\nmigrations/\n  |- 001.create-table.sql\n  |- 002.create-another-table.sql\n```\n\n```js\nconst marv = require('marv')\nconst mssqlDriver = require('marv-mssql-driver')\nconst directory = path.join(process.cwd(), 'migrations' )\nconst driver = mssqlDriver({\n    table: 'db_migrations',     // defaults to 'migrations'\n    connection: {               // the connection sub document is passed directly to mssql\n        host: 'localhost',\n        port: 1433,\n        database: 'dbo',\n        user: 'sa',\n        password: 'Marv@234!',\n        options: {\n            encrypt: true // Use this if you're on Windows Azure\n        }\n    }\n})\nmarv.scan(directory, (err, migrations) =\u003e {\n    if (err) throw err\n    marv.migrate(migrations, driver, (err) =\u003e {\n        if (err) throw err\n    })\n})\n```\n\n## SQL Server locally for testing\n\nThe password is: `Marv@234!`\n\n## Testing\n```bash\nnpm install # or yarn\nnpm run docker\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitaslearning%2Fmarv-mssql-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitaslearning%2Fmarv-mssql-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitaslearning%2Fmarv-mssql-driver/lists"}