Comments (1)
I've attempted a fix in my fork, basically just setting the previous schema before the regular tasks. It seems to work, but I'm not clear on the use case for setting the previous schema exactly; so I can't verify if everything still works; but the output is the same and when using format=sql, it does only generate a structure.sql.
from hair_trigger.
Related Issues (20)
- Model methods without Raw SQLs
- ArgumentError: comparison of NilClass with 20221210175746 failed HOT 1
- Lock the table triggers are created for
- NoMethodError: undefined method `schema_format' for ActiveRecord::Base:Class (NoMethodError) HOT 3
- RFC: use rails generator instead of a custom rake task for migrations
- How to execute sequence with prefix HOT 2
- Triggers at the beginning of schema, before tables created HOT 1
- Undefined method `migrations` in Rails v5.2 HOT 2
- hair_trigger creates adapter specific code for MySQL HOT 1
- can't modify frozen String with frozen_string_literal: true HOT 1
- support for postgres trigger guard (when) HOT 1
- Cannot define multiple 'included' blocks for a Concern
- Rails 6.0 - "Nothing to do" when running rake db:generate_trigger_migration HOT 5
- Rails 6.0 Migrations - "ArgumentError: wrong number of arguments (given 2, expected 1)" HOT 1
- Allow multiple triggers on same event HOT 3
- Use Ruby 1.9 hash syntax in auto-generated migrations
- Fix Ruby 2.7 warnings HOT 2
- Hairtrigger broken with fx gem >= 0.6.0 HOT 1
- Rails app with multiple databases: Primary schema file getting overwritten by secondary schema file
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 hair_trigger.