AutoGPT/rnd/autogpt_server/postgres/migrations
Reinier van der Leer 2ff8a0743a
fix(server): Make `userId` required on DB entities and apply default ID to existing entries (#7755)
* Make `userId` required on DB entities `AgentGraph`, `AgentGraphExecution`, and `AgentGraphExecutionSchedule`

* Add SQLite and Postgres migrations to make `userId` required and set `userId` to `3e53486c-cf57-477e-ba2a-cb02dc828e1a` on existing entries without `userId`

* Amend `create_graph` endpoint and `.data.graph`, `.data.execution` methods to handle required `user_id`

* Add `.data.user.DEFAULT_USER_ID` constant to replace hardcoded literals
2024-08-08 16:57:59 +02:00
..
20240722143307_migrations feat(rnd) Add Postgres support (#7513) 2024-07-22 23:43:49 +01:00
20240726131311_node_input_unique_constraint fix(server): Add missing PG migrations (#7619) 2024-07-26 14:38:05 +01:00
20240729061216_static_input_link feat(rnd): Add freezed/static input link feature for retaining input data to be re-used in multiple node executions (#7631) 2024-07-30 10:37:38 +07:00
20240804040801_add_subgraph feat(rnd): Introduce Sub-Graph on Agent Server (#7693) 2024-08-05 16:48:14 +07:00
20240805115810_add_user_management feat(rnd): Add user management (#7663) 2024-08-07 14:15:29 +01:00
20240807123738_add_index_users feat(rnd): Add user management (#7663) 2024-08-07 14:15:29 +01:00
20240808095419_add_required_user_ids fix(server): Make `userId` required on DB entities and apply default ID to existing entries (#7755) 2024-08-08 16:57:59 +02:00
migration_lock.toml feat(rnd) Add Postgres support (#7513) 2024-07-22 23:43:49 +01:00