Skip to content

Commit

Permalink
remove "relevant_events" column which no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Oct 22, 2024
1 parent 85f5d97 commit f81e7f2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions fixtures/notes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ INSERT INTO users (
mfa_enabled, webauthn_enabled, totp_secret, totp_last_ticket, created_at,
premium_since, verified, disabled, deleted, email, flags, public_flags,
purchased_flags, premium_usage_flags, rights, data, fingerprints, extended_settings,
settings_index, relevant_events
settings_index
)
VALUES
(7250861145186111490, 'john_doe_notes', '1296', 'avatar1.png', 16777215, 'banner1.png', NULL,
'he/him', '+1234567890', true, false, true, 1, false, 'This is my bio', false,
true, true, true, 'secret123', 'ticket456', '2024-01-01 12:00:00',
'2024-01-02 12:00:00', true, false, false, 'john_doe_notes@example.com', 100, 10,
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 7251169922837909504,
'[]'),
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 7251169922837909504
),
(7250861145186111491, 'jane_smith_notes', '5678', 'avatar2.png', 123456, NULL, NULL,
'she/her', NULL, false, true, false, 0, false, '', false,
false, false, false, NULL, NULL, '2024-02-01 15:30:00',
NULL, false, false, false, 'jane_smith_notes@example.com', 50, 5,
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 7251169922837909505,
'[]');
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 7251169922837909505
);
COMMIT;

INSERT INTO notes (
Expand Down
10 changes: 5 additions & 5 deletions fixtures/private_channels.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ INSERT INTO users (
mfa_enabled, webauthn_enabled, totp_secret, totp_last_ticket, created_at,
premium_since, verified, disabled, deleted, email, flags, public_flags,
purchased_flags, premium_usage_flags, rights, data, fingerprints, extended_settings,
settings_index, relevant_events
settings_index
)
VALUES
(7250861145186111490, 'john_doe_private_channels', '1296', 'avatar1.png', 16777215, 'banner1.png', NULL,
'he/him', '+1234567890', true, false, true, 1, false, 'This is my bio', false,
true, true, true, 'secret123', 'ticket456', '2024-01-01 12:00:00',
'2024-01-02 12:00:00', true, false, false, 'john_doe_private_channels@example.com', 100, 10,
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 7250861145186111495,
'[]'),
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 7250861145186111495
),
(7250861145186111491, 'jane_smith_private_channels', '5678', 'avatar2.png', 123456, NULL, NULL,
'she/her', NULL, false, true, false, 0, false, '', false,
false, false, false, NULL, NULL, '2024-02-01 15:30:00',
NULL, false, false, false, 'jane_smith_private_channels@example.com', 50, 5,
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 7250861145186111496,
'[]');
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 7250861145186111496
);
COMMIT;

INSERT INTO channels (
Expand Down
22 changes: 11 additions & 11 deletions fixtures/users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,37 +36,37 @@ INSERT INTO users (
mfa_enabled, webauthn_enabled, totp_secret, totp_last_ticket, created_at,
premium_since, verified, disabled, deleted, email, flags, public_flags,
purchased_flags, premium_usage_flags, rights, data, fingerprints, extended_settings,
settings_index, relevant_events
settings_index
)
VALUES
(7248639845155737600, 'john_doe', '1296', 'avatar1.png', 16777215, 'banner1.png', NULL,
'he/him', '+1234567890', true, false, true, 1, false, 'This is my bio', false,
true, true, true, 'secret123', 'ticket456', '2024-01-01 12:00:00',
'2024-01-02 12:00:00', true, false, false, 'john_doe@example.com', 100, 10,
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 1,
'[]'),
5, 1, 100, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint1', '{"setting": "value"}', 1
),
(7248639891561517057, 'jane_smith', '5678', 'avatar2.png', 123456, NULL, NULL,
'she/her', NULL, false, true, false, 0, false, '', false,
false, false, false, NULL, NULL, '2024-02-01 15:30:00',
NULL, false, false, false, 'jane_smith@example.com', 50, 5,
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 2,
'[]'),
0, 0, 50, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint2', '{"setting": "another_value"}', 2
),
(7248640296244744192, 'alice_malice', '9876', 'avatar3.png', 987654, 'banner3.png', NULL,
'they/them', '+1230987654', true, true, false, 0, false, 'Life is an adventure',
false, false, true, false, 'secret789', 'ticket123', '2024-03-01 08:45:00',
NULL, false, false, false, 'alice@example.com', 200, 20,
2, 1, 150, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint3', '{"setting3": "value3"}', 3,
'[]'),
2, 1, 150, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint3', '{"setting3": "value3"}', 3
),
(7248640311927246848, 'bob_the_woz', '1122', 'avatar4.png', 556677, NULL, NULL,
'he/him', NULL, true, false, true, 1, false, 'Building the future',
false, true, false, true, 'secret456', 'ticket789', '2024-03-15 14:30:00',
'2024-04-01 14:30:00', true, false, false, 'bob@example.com', 250, 25,
3, 2, 200, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint4', '{"setting4": "value4"}', 4,
'[]'),
3, 2, 200, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint4', '{"setting4": "value4"}', 4
),
(7248640327265816576, 'xenia', '3344', 'avatar5.png', NULL, 'banner5.png', NULL,
'he/him', '+4567890123', false, true, false, 0, false, 'Chocolate is life',
false, false, false, true, 'secret555', 'ticket987', '2024-04-10 10:00:00',
NULL, false, false, false, 'charlie@example.com', 180, 15,
0, 0, 180, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint5', '{"setting5": "value5"}', 5,
'[]');
0, 0, 180, '{"hash": "$2b$14$AbcNYTh5GcOYaB4v4P7OWeGW0hQkd/ysvmY4fGyIA/tyEnK0chGNu", "valid_tokens_since": "2024-10-07T20:22:06.162070616Z"}', 'fingerprint5', '{"setting5": "value5"}', 5
);
COMMIT;

0 comments on commit f81e7f2

Please sign in to comment.