{"id":16099327,"url":"https://github.com/viartemev/ktor-flyway-feature","last_synced_at":"2025-03-17T17:31:19.367Z","repository":{"id":36587961,"uuid":"198591413","full_name":"viartemev/ktor-flyway-feature","owner":"viartemev","description":"Flyway migration feature for Ktor (Kotlin)","archived":false,"fork":false,"pushed_at":"2023-03-20T17:24:36.000Z","size":324,"stargazers_count":29,"open_issues_count":13,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T02:23:14.198Z","etag":null,"topics":["database","database-migration","flyway","kotlin","ktor","ktor-framework"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viartemev.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}},"created_at":"2019-07-24T08:24:30.000Z","updated_at":"2024-03-01T05:29:05.000Z","dependencies_parsed_at":"2023-02-11T23:16:37.087Z","dependency_job_id":null,"html_url":"https://github.com/viartemev/ktor-flyway-feature","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viartemev%2Fktor-flyway-feature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viartemev%2Fktor-flyway-feature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viartemev%2Fktor-flyway-feature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viartemev%2Fktor-flyway-feature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viartemev","download_url":"https://codeload.github.com/viartemev/ktor-flyway-feature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243872435,"owners_count":20361480,"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":["database","database-migration","flyway","kotlin","ktor","ktor-framework"],"created_at":"2024-10-09T18:26:50.631Z","updated_at":"2025-03-17T17:31:19.019Z","avatar_url":"https://github.com/viartemev.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ktor flyway feature\n![CI](https://github.com/viartemev/ktor-flyway-feature/workflows/CI/badge.svg?branch=master)\n\nKtor feature for version control for your database by Flyway.\n\n## Usage\n\u003cdetails\u003e\u003csummary\u003eSet up in Gradle:\u003c/summary\u003e\n\n```groovy\nrepositories {\n    jcenter()\n}\n\ndependencies {\n    implementation(\"com.viartemev:ktor-flyway-feature:$ktor_flyway_feature_version\")\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eSet up in Maven:\u003c/summary\u003e\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejcenter\u003c/id\u003e\n        \u003curl\u003ehttps://jcenter.bintray.com/\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.viartemev\u003c/groupId\u003e\n  \u003cartifactId\u003ektor-flyway-feature\u003c/artifactId\u003e\n  \u003cversion\u003e${ktor_flyway_feature_version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\u003c/details\u003e\n\nAdd the feature to the code:\n```kotlin\ninstall(FlywayFeature) {\n    dataSource = database.connectionPool //required\n    locations = arrayOf(\"custom/dir\", \"other/custom/dir\") //optional, default value = arrayof(\"db/migration\")\n    commands(Info, Migrate) //optional, default command list is: Info, Migrate\n    schemas = arrayOf(\"CUSTOM_SCHEMA_1\", \"CUSTOM_SCHEMA_2\") // optional, default value is the DB product specific default schema\n}\n```\n## Contributing\nWe welcome any contributions—reports of issues, ideas for enhancements, and pull requests related to either of those.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviartemev%2Fktor-flyway-feature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviartemev%2Fktor-flyway-feature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviartemev%2Fktor-flyway-feature/lists"}