Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Let's assume you have 3 pending migrations with no order.
up 20181029224028 Create users
down 20181029224048 Create add surname to users
up 20181029224059 Create posts
up 20181029224112 Create test los
down 20181029224146 Create lalas
down 20181029224451 Lololo
And some of them (let it be '20181029224451 Lololo') is broken.
And you are going to deploy that code somewhere.
So if you simply run rake db:migrate
you will have on the server
two passed migrations and an error.
up 20181029224028 Create users
up 20181029224048 Create add surname to users
up 20181029224059 Create posts
up 20181029224112 Create test los
up 20181029224146 Create lalas
down 20181029224451 Lololo
So state was not reverted to the same what was before rake db:migrate
state.
gem 'birds_migrations' will give you ability to do "all or nothing" migrations.
rake birds:migrate
Add this line to your application's Gemfile:
gem 'bird_migration'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bird_migration
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that bird_migration demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.