{"repo":"damln/localtower","free":true,"listed":false,"github":"https://github.com/damln/localtower","clone":"git clone https://github.com/damln/localtower.git","description":"The first UI to manage your Rails DB migrations.","language":"JavaScript","stars":416,"topics":["ruby","rails","schema","database","activerecord","postgres"],"license":null,"category":"databases-storage","readme_excerpt":"Introduction - What is Localtower? Localtower is a Rails Engine mountable in development environment to help you generate migrations for your Rails application. It's like ActiveAdmin or Sidekiq UI. You plug it in your config/routes.rb and it works out of the box. Check the Installation section below for more details. - How Localtower works? Localtower gives you a UI to create models and migrations. It will generate a migration file like you would do with rails generate migration add index to users . You will see the generated file in db/migrate/ folder. - Why creating a UI for Rails migrations? Rails migrations are well documented in the official Rails Guides but we often tend to forget some commands or do typo errors. Like writing add index :user, :email instead of add index :users, :email (did you spot the typo?). Working from a UI with a fixed list of commands reduces the chance of making errors. - When I'm using Localtower, can I still generate migrations from the command line? Of course! Localtower does not lock you up. You can still generate migrations like you did before. Localtower is just a migration generator. You can also generate a migration from Localtower and then edit it manually before running rails db:migrate - What does happen when I want to remove Localtower? You just have to remove the gem from your Gemfile , run bundle , remove the engine in config/routes.rb , and that's it! All your previous migrations will stay in db/migrate/ . You are never locked up w","default_branch":null,"files":null,"tree":[],"storefront":"/r/damln","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/damln/localtower/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}