Comments (8)
Because your Tortoise-ORM app is not default app models
, so you need specify --app
, like aerich --app translator init-db
from aerich.
looks like done
thanks!
from aerich.
got new problem
aerich --app translator init -t services.translator.utils.local_config
aerich --app translator init-db
first command looking good. i see valid result. aerich --app translator init-db
returns a
Success generate schema
but in next step - aerich migrate --name drop_column
it returs to me this response
Error: You must exec init-db first
and --app translator prefix do not help this time :(
from aerich.
hmm, but i can see tables in my postgres...
from aerich.
update aerich from github now,then you can real error msg.
from aerich.
dont work in version 0.1.7
from aerich.
what error log?
from aerich.
##6
from aerich.
Related Issues (20)
- Error running upgrade on Postgres HOT 2
- please support mssql
- Can we simplify the migration file generated by aerich migrate
- Nested database transactions
- varchar max_length change not detected HOT 2
- Improved feedback for "migrate" when models and schema are in sync
- aerich inspectdb makes syntax error
- Pydantic validation error when inspecting DB HOT 2
- AttributeError: 'method_descriptor' object has no attribute '__module__'. Did you mean: '__reduce__'? HOT 1
- stuck on init HOT 13
- FK column rename error
- FK column unique not working
- migrate() got an unexpected keyword argument 'empty' HOT 2
- Model with multiple FKs to same table throws error or finds changes that aren't there
- Insert into a glossary table HOT 1
- Support altering columns in SQLite migrations by RENAME-ADD-UPDATE-DROP HOT 1
- Setting null = false on m2m fields causes migration to fail
- Multiple database HOT 2
- Migrate from `CharField(...,unique=True)` to `CharField(...,unique=False)` raises tortoise.exceptions.OperationalError HOT 1
- `make test_postgres` failed with `tortoise-orm>=0.21`
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 aerich.