Commit Graph

  • 9c3ba7e273
    fix: aerich init-db process is suspended (#435) dev Waket Zheng 2025-03-06 13:39:56 +08:00
  • 074ba9b743
    fix: ci failed with m2m field migrate test (#434) Waket Zheng 2025-03-05 10:28:41 +08:00
  • 5d9adbdb54
    chore: improve type hints (#432) Waket Zheng 2025-03-04 14:52:12 +08:00
  • 8609435815
    Release 0.8.2 (#429) v0.8.2 Waket Zheng 2025-02-28 20:24:06 +08:00
  • a624d1b43b
    fix: migrate does not recognise attribute changes for string primary key (#428) Waket Zheng 2025-02-27 22:23:26 +08:00
  • e299f8e1d6
    feat: aerich.Command support async with syntax (#427) Waket Zheng 2025-02-27 10:55:48 +08:00
  • db0cf656fc chore: show friendly message when config missing 'apps' section Waket Zheng 2025-02-26 17:27:05 +08:00
  • 49bfbf4e6b
    feat: support psycopg (#425) Waket Zheng 2025-02-26 17:11:31 +08:00
  • 0364ae3f83
    feat: add project section (#424) Waket Zheng 2025-02-26 14:24:02 +08:00
  • 91adf9334e
    feat: support skip table migration by set managed=False (#397) Waket Zheng 2025-02-21 17:08:03 +08:00
  • 41df464e8b
    fix: no migration occurs when adding unique true to indexed field (#414) Waket Zheng 2025-02-20 16:58:32 +08:00
  • c35282c2a3
    fix: inspectdb not match data type 'DOUBLE' and 'CHAR' for MySQL 程序猿过家家 2025-02-19 16:04:15 +08:00
  • 557271c8e1
    feat: support command python -m aerich (#417) Waket Zheng 2025-02-18 15:44:02 +08:00
  • 7f8c5dcddc
    fix: update asyncio event loop policy on Windows (#251) radluz 2025-02-17 10:06:10 +00:00
  • 1793dab43d
    refactor: apply future type hints style (#416) Waket Zheng 2025-02-17 11:42:56 +08:00
  • 6bdfdfc6db
    fix: aerich migrate raises tortoise.exceptions.FieldError when index.INDEX_TYPE is not empty (#415) Waket Zheng 2025-02-13 18:48:45 +08:00
  • 0be5c1b545
    Remove system dependency on libsqlite3.so on command.upgrade (#413) alistairmaclean 2025-02-07 13:09:04 +01:00
  • d6b35ab0ac
    change hardcoded version (#412) Abdeldjalil Hezouat 2025-02-07 12:50:41 +01:00
  • b46ceafb2e
    feat: support --fake for aerich upgrade (#398) Waket Zheng 2025-02-07 19:44:15 +08:00
  • ac847ba616
    refactor: avoid updating inited config file (#402) Waket Zheng 2025-01-04 09:08:14 +08:00
  • f5d7d56fa5
    fix: inspectdb raise KeyError 'int2' for smallint (#401) Waket Zheng 2024-12-27 23:49:53 +08:00
  • d6a51bd20e docs: release v0.8.1 v0.8.1 Waket Zheng 2024-12-27 12:34:55 +08:00
  • c1dea4e846
    chore: upgrade deps, add tortoise0.23 to ci (#399) Waket Zheng 2024-12-27 12:30:34 +08:00
  • 5e8a7c7e91
    fix: migration with duplicate renaming of columns in some cases (#395) Waket Zheng 2024-12-27 12:09:23 +08:00
  • 7d22518c74
    Fix create/drop indexes in every migration (#377) Waket Zheng 2024-12-22 00:24:18 +08:00
  • f93faa8afb
    fix: add o2o field does not create constraint when migrating (#396) Waket Zheng 2024-12-22 00:23:47 +08:00
  • 1acb9ed1e7
    chore(deps): limit tortoise-orm version to >=0.21 instead of wildcard (*) (#388) Waket Zheng 2024-12-21 11:04:02 +08:00
  • 69ce0cafa1
    fix: intermediate table for m2m relation not created (#394) Waket Zheng 2024-12-18 00:13:19 +08:00
  • 4fc7f324d4
    fix: add m2m field with custom m2m through generate duplicated table when migrating (#393) Waket Zheng 2024-12-17 22:28:06 +08:00
  • d8addadb37
    chore(deps): prefer to use tomllib/tomli and mark tomlkit/tomli_w as optional (#392) Waket Zheng 2024-12-17 01:43:36 +08:00
  • 0780919ef3
    fix: migrate drop the wrong m2m field when model have multi m2m fields (#390) Waket Zheng 2024-12-17 01:20:02 +08:00
  • 5af8c9cd56 docs: update changelog Waket Zheng 2024-12-16 11:49:52 +08:00
  • 56da0e7e3c fix: KeyError raised when removing or renaming an existing model Waket Zheng 2024-12-12 10:43:40 +08:00
  • 6270c4781e
    fix: error when there is __init__.py in the migration folder (#272) Lance.Moe 2024-12-11 22:34:14 +09:00
  • 12d0a5dad1
    fix: setting null=false on m2m field causes migration to fail (#385) Waket Zheng 2024-12-11 21:12:04 +08:00
  • 56eff1b22f chore: use pytest instead of py.test in Makefile Waket Zheng 2024-12-11 16:44:18 +08:00
  • e4a3863f80
    fix: aerich upgrade raises OperationalError when unique constraint dropped at migration 1_xxx.py with postgres (#383) Waket Zheng 2024-12-11 15:15:29 +08:00
  • 5572876714
    fix: NonExistentKey when running aerich init without [tool] section in config file (#381) Waket Zheng 2024-12-11 13:26:18 +08:00
  • 3d840395f1 docs: update changlog Waket Zheng 2024-12-10 23:11:13 +08:00
  • accceef24f
    Fixed two problems when using under windows (#286) Tuffy_ 2024-12-10 23:02:49 +08:00
  • 9c81bc6036
    Fix sqlite create/drop index (#379) Waket Zheng 2024-12-10 16:37:30 +08:00
  • c2ebe9b5e4
    Fix postgres fk rename (#378) Waket Zheng 2024-12-09 11:41:40 +08:00
  • 8cefe68c9b
    [BUG] Sort m2m fields before comparing them with diff(...) (#271) Mykola Solodukha 2024-12-05 11:41:58 +02:00
  • 44025823ee
    chore: upgrade deps and fix ruff lint issues (#374) Waket Zheng 2024-12-05 15:56:00 +08:00
  • 252cb97767 Bump version to 0.8.0 and update changelog v0.8.0 Waket Zheng 2024-12-04 00:14:35 +08:00
  • ac3ef9e2eb
    tests: no need to merge operators when NotSupportError raised (#373) Waket Zheng 2024-12-03 23:59:54 +08:00
  • 5b04b4422d
    chore: upgrade deps, update changelog, drop test db before create (#372) Waket Zheng 2024-12-03 23:30:37 +08:00
  • b2f4029a4a
    Improve type hints of inspectdb (#371) Waket Zheng 2024-12-03 12:40:28 +08:00
  • 4e46d9d969
    Fix the issue of parameter concatenation when generating ORM with inspectdb (#331) xsillen 2024-12-03 11:44:36 +08:00
  • c0fd3ec63c
    Fix KeyError when deleting a field with unqiue=True (#365) gck123 2024-12-03 10:16:44 +08:00
  • 103470f4c1
    Merge pull request #367 from waketzheng/fix-style-issue Waket Zheng 2024-11-29 15:09:25 +08:00
  • dc020358b6 chore: make style, upgrade deps, fix ci error and update changelog Waket Zheng 2024-11-25 23:46:48 +08:00
  • 095eb48196
    Merge pull request #360 from ahmetveburak/fix-package Waket Zheng 2024-11-25 18:10:27 +08:00
  • fac1de6299
    Merge pull request #355 from merlinz01/improve-cli-descriptions He 2024-11-18 21:25:13 +01:00
  • e049fcee26
    fix(package): correct the click import ahmetveburak 2024-10-05 20:43:32 +03:00
  • ee144d4a9b
    update migrate output for consistency Merlin 2024-08-07 13:32:49 -04:00
  • dbf96a17d3
    Improve command-line descriptions Merlin 2024-08-07 13:31:07 -04:00
  • 15d56121ef fix: migrate long2ice 2024-08-06 22:46:50 +08:00
  • 4851ecfe82 refactor: use asyncclick long2ice 2024-08-06 22:41:39 +08:00
  • ad0e7006bc
    Merge pull request #348 from waketzheng/update-changelog long2ice 2024-06-07 11:25:10 +08:00
  • 27b29e401b Merge remote-tracking branch 'upstream/dev' into update-changelog Waket Zheng 2024-06-07 11:11:47 +08:00
  • 7bb35c10e4 Add tag link to change log Waket Zheng 2024-06-07 11:08:49 +08:00
  • ed113d491e
    Merge pull request #347 from waketzheng/add-mypy-check-to-ci long2ice 2024-06-06 21:38:23 +08:00
  • 9e46fbf55d rollback ci command Waket Zheng 2024-06-06 18:20:57 +08:00
  • fc68f99c86 fixing cache action Waket Zheng 2024-06-06 18:02:58 +08:00
  • 480087df07 Add id for cache step Waket Zheng 2024-06-06 17:38:51 +08:00
  • 24a2087b78 Skip make deps if cache hint in ci Waket Zheng 2024-06-06 17:35:00 +08:00
  • bceeb236c2 Checking cache action Waket Zheng 2024-06-06 17:21:46 +08:00
  • c42fdab74d Add cache action to ci Waket Zheng 2024-06-06 17:11:27 +08:00
  • ceb1e0ffef Activate type hint check in ci Waket Zheng 2024-06-06 17:07:09 +08:00
  • 13dd44bef7
    Merge pull request #340 from waketzheng/type-hint-tests long2ice 2024-06-06 16:53:01 +08:00
  • 219633a926
    Merge pull request #341 from waketzheng/type-hint-simple long2ice 2024-06-06 16:52:30 +08:00
  • e6302a920a
    Merge pull request #342 from waketzheng/type-hint-ddl long2ice 2024-06-06 16:51:37 +08:00
  • 79a77d368f
    Merge pull request #343 from waketzheng/type-hints-aerich.migrate long2ice 2024-06-06 16:50:53 +08:00
  • 4a1fc4cfa0
    Merge pull request #339 from waketzheng/update-ci long2ice 2024-06-06 16:50:39 +08:00
  • aee706e29b Update changelog Waket Zheng 2024-06-06 16:43:08 +08:00
  • 572c13f9dd fix conflict Waket Zheng 2024-06-06 16:36:29 +08:00
  • 7b733495fb fix conflict Waket Zheng 2024-06-06 16:35:09 +08:00
  • c0c217392c Merge remote-tracking branch 'upstream/dev' into type-hint-simple Waket Zheng 2024-06-06 16:32:00 +08:00
  • c7a3d164cb fix conflict Waket Zheng 2024-06-06 16:31:24 +08:00
  • 50add58981 merge dev Waket Zheng 2024-06-06 16:27:06 +08:00
  • f3b6f8f264
    Merge pull request #345 from waketzheng/dev long2ice 2024-06-06 15:49:31 +08:00
  • d33638471b
    Merge pull request #346 from waketzheng/fix-336 long2ice 2024-06-06 15:48:50 +08:00
  • e764bb56f7 Add new column for unique index remove test Waket Zheng 2024-06-06 09:07:13 +08:00
  • 84d31d63f6 Update readme Waket Zheng 2024-06-06 08:42:55 +08:00
  • 234495d291 docs: bump up version and update changelog Waket Zheng 2024-06-06 00:07:29 +08:00
  • e971653851 fix: mysql drop unique index migrate error Waket Zheng 2024-06-05 23:37:30 +08:00
  • 58d31b3a05 fix: make ci error with latest tortoise-orm (#344) Waket Zheng 2024-06-04 01:44:28 +08:00
  • affffbdae3 Drop python3.7 support Waket Zheng 2024-06-03 01:26:48 +08:00
  • 6466a852c8 Add type hints for aerich.migrate Waket Zheng 2024-06-02 18:09:34 +08:00
  • a917f253c9 Add type hints for inspectdb/sqlite Waket Zheng 2024-06-02 17:56:54 +08:00
  • dd11bed5a0 Add type hints for ddl and inspectdb Waket Zheng 2024-06-01 22:14:30 +08:00
  • 8756f64e3f Simple type hints for aerich/ Waket Zheng 2024-06-01 21:16:53 +08:00
  • 1addda8178 Improve type hints for tests/ Waket Zheng 2024-06-01 20:58:25 +08:00
  • 716638752b Update ci action versions and avoid make ci install deps twice Waket Zheng 2024-06-01 20:46:08 +08:00
  • 51117867a6
    Merge pull request #328 from Fl0kse/fix_issue-150 long2ice 2024-01-23 22:08:08 +08:00
  • b25c7671bb try to fix "Add ManyToManyField will break migrate #150" issues artem.ulchenko 2024-01-18 10:50:31 +03:00
  • b63fbcc7a4 style: fix long2ice 2024-01-18 09:50:41 +08:00
  • 4370b5ed08
    Merge pull request #327 from ar0ne/dev long2ice 2024-01-18 09:46:02 +08:00
  • 2b2e465362 missed changes that add new flag to cli ar0ne 2023-12-27 12:56:46 +05:30