40 lines
406 B
Markdown
40 lines
406 B
Markdown
# fuware
|
|
|
|
the warehouse use to tracking item in house
|
|
|
|
# Common CLI
|
|
|
|
### alembic
|
|
|
|
generate migration
|
|
|
|
```bash
|
|
alembic revision -m "version message"
|
|
```
|
|
|
|
```bash
|
|
alembic upgrade head
|
|
```
|
|
|
|
```bash
|
|
alembic history
|
|
```
|
|
|
|
```bash
|
|
alembic current
|
|
```
|
|
|
|
```bash
|
|
alembic downgrade -1
|
|
```
|
|
|
|
```bash
|
|
alembic upgrade +1
|
|
```
|
|
|
|
generate migration auto code
|
|
|
|
```bash
|
|
alembic revision --autogenerate -m "version message"
|
|
```
|