{"id":23397369,"url":"https://github.com/sgtfloyd/activerecord-db-tasks","last_synced_at":"2025-10-12T20:43:31.782Z","repository":{"id":8064902,"uuid":"9477008","full_name":"sgtFloyd/activerecord-db-tasks","owner":"sgtFloyd","description":"Rake db tasks for ActiveRecord sans Rails","archived":false,"fork":false,"pushed_at":"2013-04-16T19:11:34.000Z","size":116,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T22:34:42.537Z","etag":null,"topics":["activerecord","rake","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/sgtFloyd.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}},"created_at":"2013-04-16T16:22:18.000Z","updated_at":"2016-01-18T18:36:22.000Z","dependencies_parsed_at":"2022-09-01T06:31:26.947Z","dependency_job_id":null,"html_url":"https://github.com/sgtFloyd/activerecord-db-tasks","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/sgtFloyd%2Factiverecord-db-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Factiverecord-db-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Factiverecord-db-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Factiverecord-db-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgtFloyd","download_url":"https://codeload.github.com/sgtFloyd/activerecord-db-tasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248431767,"owners_count":21102264,"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":["activerecord","rake","ruby"],"created_at":"2024-12-22T08:17:50.324Z","updated_at":"2025-10-12T20:43:31.720Z","avatar_url":"https://github.com/sgtFloyd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"activerecord-db-tasks\n=====================\nRake db management tasks for projects that use ActiveRecord without Rails.  \n`rake db:create`, `rake db:migrate`, etc.\n\nUsage\n-----\n**Install the gem:** `gem install activerecord-db-tasks`  \n**Include it in your Rakefile:** `require 'activerecord-db/tasks'`\n\nTasks\n-----\n```bash\nrake db:create        # Create the database in config/database.yml\nrake db:drop          # Drops the database in config/database.yml\nrake db:forward       # Pushes the schema to the next version (specify steps w/ STEP=n).\nrake db:migrate       # Migrate the database (target specific version with VERSION=x).\nrake db:migrate:down  # Runs the \"down\" for a given migration VERSION.\nrake db:migrate:redo  # Rollback the database one migration and re migrate up (options: STEP=x, VERSION=x).\nrake db:migrate:up    # Runs the \"up\" for a given migration VERSION.\nrake db:reset         # Resets your database using your migrations.\nrake db:rollback      # Rolls the schema back to the previous version (specify steps w/ STEP=n).\nrake db:version       # Retrieves the current schema version number.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtfloyd%2Factiverecord-db-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgtfloyd%2Factiverecord-db-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtfloyd%2Factiverecord-db-tasks/lists"}