Comments (2)
okie dokie, as long as you are aware
from automigrate.
hey brandon! thanks for checking out the repo.
I've gotten similar feedback in the past (rewrite in go so it can be distributed as a binary, for example). I think that automig doesn't have enough users right now to justify that amount of work.
You could, potentially, run automig update
inside node exec if you have all the python deps in your container.
It sounds like you're running migrations every time an instance of the app starts up, rather than as a side effect of deploys?
I've used automig in a golang repo before -- there I had an entirely separate python Dockerfile that ran as part of deploys. I have an example Dockerfile in the repo, it might be kind of stale now though.
I haven't thought too much about automatic migrations because they can get complicated -- I read this benchling article from last year -- they have things like backwards compatibility checks and pre / post deploy steps depending on whether something is being added or removed.
from automigrate.
Related Issues (14)
- need --opaque flag in automig_pg HOT 1
- AUTOMIG_GLOB and TARGET in automig_pg command
- automig_sqlite fails without psycopg2
- datetime type doesn't parse correctly
- column order won't always match declarative sql
- sqlite DDL isn't transactional
- whitespace change triggers index recreation
- newlines not being treated as whitespace
- bool (instead of boolean) causes infinite loop HOT 1
- drop column is sometimes broken
- InvalidGitRepositoryError when not invoked in repo root
- Schema Hashes HOT 9
- burndown to 0.1.0 HOT 3
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 automigrate.