{"id":17003893,"url":"https://github.com/cldwalker/migration_sql","last_synced_at":"2026-05-10T19:41:23.290Z","repository":{"id":3831618,"uuid":"4912756","full_name":"cldwalker/migration_sql","owner":"cldwalker","description":"Generate migration sql for Rails apps and Sequel","archived":false,"fork":false,"pushed_at":"2012-07-09T15:35:46.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T10:44:15.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/cldwalker.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":"2012-07-05T18:34:00.000Z","updated_at":"2013-10-11T02:44:27.000Z","dependencies_parsed_at":"2022-09-01T08:21:09.043Z","dependency_job_id":null,"html_url":"https://github.com/cldwalker/migration_sql","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fmigration_sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fmigration_sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fmigration_sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fmigration_sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cldwalker","download_url":"https://codeload.github.com/cldwalker/migration_sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937832,"owners_count":20535127,"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":"2024-10-14T04:33:08.000Z","updated_at":"2026-05-10T19:41:18.251Z","avatar_url":"https://github.com/cldwalker.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nGenerates the sql equivalent of db/migrate into db/migration\\_sql. Currently only works for Rails apps and Sequel.\n\n## Installation\n\nIf using bundler, add this line to your application's Gemfile:\n\n    gem 'migration_sql'\n\nOr install it yourself with:\n\n    $ gem install migration_sql\n\n## Usage\n\nTo dump your migration sql, use this rake task:\n```sh\n$ rake db:dump_migration_sql\nSaved sql for 20120605163256_add_some_column.rb\n...\n```\n\nThe rake task runs on your test environment and assumes db:drop and db:create for dropping\nand creating your database. Additional db create tasks can be configured with\n`MigrationSql.db_create_tasks`. The rake task can be run multiple times and will only create\nsql files that don't already exist.\n\n## TODO\n* Write tests!\n* Consider adding ActiveRecord support using\n  [migration_sql_generator](https://github.com/muness/migration_sql_generator)\n\n## License\n\nMIT. See LICENSE for more.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fmigration_sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcldwalker%2Fmigration_sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fmigration_sql/lists"}