ArchiveBox/archivebox/machine/migrations
Claude 6a8062090b
Slim DB helpers and address PR review feedback
Helper reduction:
- Move the Django DATABASES/SQLITE_CONNECTION_OPTIONS assembly into
  core/settings.py, dropping get_database_settings() and
  get_sqlite_connection_options() from misc/db.py.
- Inline the single-use migration_table_columns() into its one migration.

Review fixes:
- search: match only scalar JSON *values* on postgres (jsonb_path_query
  over '$.**' scalar leaves), mirroring SQLite json_tree.atom so config
  keys no longer match.
- CharField clamp now also runs in SnapshotQuerySet.bulk_create (bulk paths
  bypass the pre_save signal); truncate_overlong_charfields is dual-use.
- Restore reverse-migration parity on postgres: crawls/machine/api initial
  migrations drop their rebuilt tables on reverse via drop_models_on_postgres.
- docs: give DATABASE_NAME its own section so the anchor resolves correctly.
- CI: only install postgres binaries on the shard that runs the postgres test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019YHSjZM6TstSAMN2PhgfUg
2026-07-24 07:57:09 +00:00
..
__init__.py add py-machineid lib for new machine app 2024-10-01 21:46:35 -07:00
0001_initial.py Slim DB helpers and address PR review feedback 2026-07-24 07:57:09 +00:00
0005_converge_binary_model.py Add native PostgreSQL support alongside SQLite 2026-07-23 17:08:47 +00:00
0006_process.py wip 2026-03-23 03:58:32 -07:00
0007_add_process_type_and_parent.py wip 2026-03-23 03:58:32 -07:00
0008_add_worker_type_field.py wip 2026-03-23 03:58:32 -07:00
0009_alter_binary_status.py wip 2026-03-23 03:58:32 -07:00
0010_alter_process_process_type.py wip 2026-03-23 03:58:32 -07:00
0011_remove_binary_output_dir.py Slim DB helpers and address PR review feedback 2026-07-24 07:57:09 +00:00
0012_add_machine_config_if_missing.py Add native PostgreSQL support alongside SQLite 2026-07-23 17:08:47 +00:00
0013_alter_machine_config.py release: archivebox 0.9.31rc31 2026-05-24 03:07:01 -07:00
0014_process_machine_pro_pid_6eec8b_idx_and_more.py release: archivebox 0.9.32rc4 2026-05-27 03:03:04 -07:00
0015_process_progress_indexes.py release: archivebox 0.9.32rc7 2026-05-27 03:24:04 -07:00
0016_process_delete_at.py release: archivebox 0.9.32rc32 2026-05-27 14:50:49 -07:00
0017_shorten_process_progress_index_names.py backup: save in-progress dev changes 2026-05-28 05:20:52 -07:00
0018_alter_process_process_type.py backup: save in-progress dev changes 2026-05-28 05:20:52 -07:00
0019_single_active_runner_constraint.py release: archivebox 0.9.33rc35 2026-05-28 20:23:01 -07:00
0020_repair_process_binary_iface_links.py release: archivebox 0.9.34rc39 2026-06-03 17:19:48 -07:00
0021_networkinterface_blank_defaults.py fix machine network interface identity 2026-06-21 02:29:53 -07:00
0022_networkinterface_identity_without_mac.py fix machine network interface identity 2026-06-21 02:29:53 -07:00