forked-synapse/synapse/storage/schema/main/delta
Patrick Cloke a7b3e9ce65
Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437)
Updates the database schema to require a thread_id (by adding a
constraint that the column is non-null) for event_push_actions,
event_push_actions_staging, and event_push_actions_summary.

For PostgreSQL we add the constraint as NOT VALID, then
VALIDATE the constraint a background job to avoid locking
the table during an upgrade.

For SQLite we simply rebuild the table & copy the data.
2023-05-03 07:49:03 -04:00
..
12 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
13 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
14 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
15 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
16 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
17 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
18 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
19 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
20 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
21 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
22 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
24 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
25 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
26 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
27 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
28 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
29 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
30 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
31 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
32 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
33 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
34 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
35 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
36 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
37 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
38 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
39 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
40 Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
41 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
42 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
43 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
44 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
45 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
46 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
47 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
48 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
49 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
50 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
51 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
52 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
53 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
54 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
55 Reorganise the database schema directories (#9932) 2021-05-07 10:22:05 +01:00
56 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
57 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
58 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
59 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
60 fix ordering of bg update (#10291) 2021-07-01 18:45:55 +01:00
61 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
62 Move the sessions delta to the latest schema version. (#10725) 2021-08-31 16:38:43 +00:00
63 Add a partial index to presence_stream to speed up startups (#10748) 2021-09-03 17:16:56 +01:00
64 Move sql file for remove_deleted_devices_from_device_inbox into v65 (#11303) 2021-11-15 11:47:30 +00:00
65 Save the OIDC session ID (sid) with the device on login (#11482) 2021-12-06 12:43:06 -05:00
67 Drop unused table public_room_list_stream. (#11795) 2022-01-21 09:19:56 +00:00
68 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
69 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
70 Rename delta to apply in the proper schema version. (#13050) 2022-06-14 14:34:04 +00:00
71 Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
72 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
73 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
74 Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
76 Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437) 2023-05-03 07:49:03 -04:00