Skip to content

Commit c1e0fbe

Browse files
committedMay 1, 2024·
schema up to 5.3.3
1 parent 2e9fdac commit c1e0fbe

File tree

3 files changed

+49
-6
lines changed

3 files changed

+49
-6
lines changed
 

‎pickles/5.1.1

77.9 KB
Binary file not shown.

‎pickles/5.9.1

125 KB
Binary file not shown.

‎schema_remarks.py

+49-6
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,9 @@
494494
'5.0.5': '5.0rc1',
495495
'5.0.6': '5.0.6',
496496
'5.2': '5.0.6',
497-
'5.1.1': 'not-yet-loaded',
498-
'5.1.2': 'not-yet-loaded',
499-
'5.3.3': 'not-yet-loaded',
497+
'5.1.1': '5.1.1',
498+
'5.1.2': '5.1.1',
499+
'5.3.3': '5.1.1',
500500
'5.9.1': '5.9.1',
501501
}
502502

@@ -763,6 +763,7 @@
763763
'dependencies': 'Which bugs <a href="#notes-dependencies">depend</a> on other bugs.',
764764
'duplicates': 'Which bugs are duplicates of which other bugs.',
765765
'email_bug_ignore': 'Stores lists of bugs users have opted not to receive notifications about.',
766+
'email_rates': 'Logs timestamps of messages sent to users so that they can be rate-limited.',
766767
'email_setting': 'Per-user settings controlling when email is sent to that user.',
767768
'fielddefs': 'The properties of each bug field.',
768769
'field_visibility': 'Tracks when custom fields are visible based on other fields on the bug.',
@@ -844,6 +845,7 @@
844845
'dependencies': None,
845846
'duplicates': None,
846847
'email_bug_ignore': None,
848+
'email_rates': 'Bug 1062739',
847849
'email_setting': 'Replaces %(column-profiles-emailflags)s',
848850
'field_visibility': 'Replaced %(column-fielddefs-visibility_field_id)s',
849851
'fielddefs': None,
@@ -1170,6 +1172,11 @@
11701172
'user_id': 'The user ignoring the bug. (foreign key %(column-profiles-userid)s)',
11711173
'bug_id': 'The bug being ignored. (foreign key %(column-bugs-bug_id)s)',
11721174
},
1175+
'email_rates': {
1176+
'id': None,
1177+
'recipient': 'The user for whom the message is intended. (foreign key %(column-profiles-userid)s)',
1178+
'message_ts': 'The timestamp of when the message was sent.',
1179+
},
11731180
'email_setting': {
11741181
'user_id': 'The user to whom this setting applies (foreign key %(column-profiles-userid)s).',
11751182
'relationship': 'The relationship between the user and the bug. 0: Assignee; 1: QA contact; 2: Reporter; 3: CC; 4: Voter; 100: for global events, which do not depend on a relationship.',
@@ -1303,6 +1310,7 @@
13031310
'id': 'A unique number identifying this keyword.',
13041311
'name': 'The keyword itself.',
13051312
'description': 'The meaning of the keyword.',
1313+
'is_active': '1 if active, 0 if archived.',
13061314
},
13071315
'keywords': {
13081316
'bug_id': 'The bug (foreign key %(column-bugs-bug_id)s)',
@@ -1424,7 +1432,18 @@
14241432
},
14251433
'profiles': {
14261434
'userid': 'A unique identifier for the user. Used in other tables to identify this user.',
1427-
'login_name': 'The user\'s email address. Used when logging in or providing mailto: links.',
1435+
'login_name': [
1436+
(
1437+
None,
1438+
'5.2',
1439+
'The user\'s email address. Used when logging in or providing mailto: links.'
1440+
),
1441+
(
1442+
'5.1.1',
1443+
None,
1444+
'The user\'s username. Used when logging in and displayed to other users.'
1445+
),
1446+
],
14281447
'password': 'The user\'s password, in plaintext.',
14291448
'cryptpassword': [
14301449
'The user\'s password.',
@@ -1452,6 +1471,7 @@
14521471
'disable_mail': '1 to disable all mail to this user; 0 for mail to depend on the per-user email settings in %(table-email_setting)s.',
14531472
'is_enabled': '1 if the account is enabled, 0 if it is disabled and prevented from logging in.',
14541473
'last_seen_date': 'Date the user last logged in.',
1474+
'email': "The user's email address.",
14551475
},
14561476
'profiles_activity': {
14571477
'userid': 'The profile which has changed (foreign key %(column-profiles-userid)s)',
@@ -1601,6 +1621,7 @@
16011621
'description': 'User-supplied description to identify the purpose of the key.',
16021622
'revoked': '1 if revoked, 0 if active.',
16031623
'last_used': 'Timestamp of the last time it was used.',
1624+
'app_id': 'Null if user-created API key. Contains a callback name if tied to a specific callback.',
16041625
},
16051626
'user_group_map': {
16061627
'user_id': 'The user. (foreign key %(column-profiles-userid)s)',
@@ -1791,6 +1812,9 @@
17911812
'last_changed': None,
17921813
'icon_url': None,
17931814
},
1815+
'keyworddefs': {
1816+
'is_active': 'Bug 69267',
1817+
},
17941818
'logincookies': {
17951819
'ipaddr': 'replacing hostname',
17961820
},
@@ -1843,6 +1867,7 @@
18431867
'disable_mail': None,
18441868
'is_enabled': 'For query performance reasons it was better to check a boolean than try to check if %(column-profiles-disabledtext)s was zero length or not.',
18451869
'last_seen_date': None,
1870+
'email': 'Bug 218917',
18461871
},
18471872
'profiles_activity': {
18481873
'id': None,
@@ -1862,6 +1887,9 @@
18621887
'setting': {
18631888
'subclass': None,
18641889
},
1890+
'user_api_keys': {
1891+
'app_id': 'Bug 1170722',
1892+
},
18651893
'user_group_map': {
18661894
'grant_type': 'replacing "isderived"',
18671895
},
@@ -2072,7 +2100,9 @@
20722100
'bugs_fulltext_comments_idx': None,
20732101
'bugs_fulltext_comments_noprivate_idx': None,
20742102
},
2075-
'bz_schema': {},
2103+
'bz_schema': {
2104+
'bz_schema_version_idx': None,
2105+
},
20762106
'category_group_map': {
20772107
'category_id': None,
20782108
},
@@ -2105,6 +2135,10 @@
21052135
'email_bug_ignore': {
21062136
'email_bug_ignore_user_id_idx': None,
21072137
},
2138+
'email_rates': {
2139+
'PRIMARY': None,
2140+
'email_rates_idx': None,
2141+
},
21082142
'email_setting': {
21092143
'email_setting_user_id_idx': None,
21102144
},
@@ -2229,6 +2263,7 @@
22292263
'PRIMARY': None,
22302264
'login_name': None,
22312265
'profiles_extern_id_idx': None,
2266+
'profiles_email_idx': None,
22322267
},
22332268
'profiles_activity': {
22342269
'userid': None,
@@ -2321,6 +2356,7 @@
23212356
'PRIMARY': None,
23222357
'user_api_keys_api_key_idx': None,
23232358
'user_api_keys_user_id_idx': None,
2359+
'user_api_keys_user_id_app_id_idx': None,
23242360
},
23252361
'user_group_map': {
23262362
'user_id': None,
@@ -2568,6 +2604,9 @@
25682604
'PRIMARY': None,
25692605
'bugs_activity_removed_idx': None,
25702606
},
2607+
'bz_schema': {
2608+
'bz_schema_version_idx': None,
2609+
},
25712610
'cc': {
25722611
'bug_id': None,
25732612
'who': None,
@@ -2607,6 +2646,7 @@
26072646
},
26082647
'profiles': {
26092648
'profiles_extern_id_idx': None,
2649+
'profiles_email_idx': None,
26102650
},
26112651
'profiles_activity': {
26122652
'PRIMARY': None,
@@ -2627,6 +2667,9 @@
26272667
'series': {
26282668
'series_category_idx': None,
26292669
},
2670+
'user_api_keys': {
2671+
'user_api_keys_user_id_app_id_idx': None,
2672+
},
26302673
'versions': {
26312674
'PRIMARY': None,
26322675
'versions_product_id_idx': None,
@@ -5957,7 +6000,7 @@
59576000
59586001
<td><a href="https://github.com/justdave">justdave</a></td>
59596002
5960-
<td>Add releases </td> 4.3.1, 4.3.2, 4.3.3, 4.4rc1, 4.4rc2, 4.4, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 4.4.10, 4.4.11, 4.4.12, 4.4.13, 4.4.14, 4.5.1, 4.5.2, 4.5.3, 4.5.4, 4.5.5, 4.5.6, 5.0rc1, 5.0rc2, 5.0rc3, 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.4.1, 5.0.5, 5.0.6, and 5.2.</td>
6003+
<td>Add releases </td> 4.3.1, 4.3.2, 4.3.3, 4.4rc1, 4.4rc2, 4.4, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 4.4.10, 4.4.11, 4.4.12, 4.4.13, 4.4.14, 4.5.1, 4.5.2, 4.5.3, 4.5.4, 4.5.5, 4.5.6, 5.0rc1, 5.0rc2, 5.0rc3, 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.4.1, 5.0.5, 5.0.6, 5.2, 5.1.1, 5.1.2, and 5.3.3</td>
59616004
59626005
</tr>
59636006

0 commit comments

Comments
 (0)
Please sign in to comment.