Comments (4)
Similar use case here. I want to add this to my orgs existing application but since the migrations are already live on production, I only want to look at files after X date or have a way to ignore individual files.
from strong_migrations.
There's no need to mark past migrations as safe. Rails recommends you use rake db:schema:load
when creating a database from scratch (for instance, for new developers). Also, you can use:
SAFETY_ASSURED=1 rake db:migrate
if needed for the initial migration (if you really don't want to use db:schema:load
)
from strong_migrations.
I've opened the above PR, could you take a look?
from strong_migrations.
👍 Same thing for me...
from strong_migrations.
Related Issues (20)
- add_foreign_key does not respect name when validating
- [Idea] Suggest adding if_not_exists when creating concurrent indexes? HOT 3
- False-negative on `DEFAULT` with Postgres on AWS RDS. HOT 4
- Ignore columns rule doesn't warn you about multiple columns in a migration to drop more than one HOT 2
- add_reference ignores index: false if foreign_key is set HOT 1
- Safety_Assured does not revert changes after failed migration HOT 1
- Backfilling data in the same migration as adding a column not being caught? HOT 4
- SystemStackError: stack level too deep with departure gem HOT 1
- [Idea] Consider adding check for change_column_default(..., to: nil) HOT 2
- lock_timeout + lock_timeout_retries + concurrent postgres indexes HOT 2
- safety_assured not ignoring custom checks when safe_by_default is true HOT 1
- [Idea] Checks for dangerous attributes HOT 1
- add_reference + index +disable_ddl_transaction! is an unsafe pattern? HOT 1
- [Idea] Apply `safety_assured` through `revert` HOT 2
- `StrongMigration.start_after` doesn't respect version on `revert` HOT 1
- Adding a column with a default value should is safe when use mysql(5.7) as database HOT 5
- [Idea] Show check link with error message HOT 1
- Lock timeout when using `add_column` with `enum` type HOT 2
- `add_reference` with concurrent index can be dangerous HOT 2
- [Idea] Provide custom message prefix/suffix message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strong_migrations.