home

chat

Custom SQL query

Tables

access_tokens

id, user_id, device_id, token, valid_until_ms, puppets_user_id, last_validated, refresh_token_id, used

3 rows

account_data

user_id, account_data_type, stream_id, content, instance_name

15 rows

account_validity

user_id, expiration_ts_ms, email_sent, renewal_token, token_used_ts_ms

0 rows

application_services_state

as_id, state, read_receipt_stream_id, presence_stream_id, to_device_stream_id, device_list_stream_id

6 rows

application_services_txns

as_id, txn_id, event_ids

0 rows

applied_module_schemas

module_name, file

0 rows

applied_schema_deltas

version, file

106 rows

appservice_room_list

appservice_id, network_id, room_id

0 rows

appservice_stream_position

Lock, stream_ordering

1 row

background_updates

update_name, progress_json, depends_on, ordering

0 rows

blocked_rooms

room_id, user_id

0 rows

current_state_delta_stream

stream_id, room_id, type, state_key, event_id, prev_event_id, instance_name

5,909 rows

current_state_events

event_id, room_id, type, state_key, membership, event_stream_ordering

4,603 rows

dehydrated_devices

user_id, device_id, device_data

0 rows

delayed_events

delay_id, user_localpart, device_id, delay, send_ts, room_id, event_type, state_key, origin_server_ts, content, is_processed, sticky_duration_ms

0 rows

delayed_events_stream_pos

Lock, stream_id

1 row

deleted_pushers

stream_id, app_id, pushkey, user_id, instance_name

0 rows

destination_rooms

destination, room_id, stream_ordering

0 rows

destinations

destination, retry_last_ts, retry_interval, failure_ts, last_successful_stream_ordering

1 row

device_auth_providers

user_id, device_id, auth_provider_id, auth_provider_session_id

0 rows

device_federation_inbox

origin, message_id, received_ts, instance_name

0 rows

device_federation_outbox

destination, stream_id, queued_ts, messages_json, instance_name

0 rows

device_inbox

user_id, device_id, stream_id, message_json, instance_name

8 rows

device_lists_changes_converted_stream_position

Lock, stream_id, room_id, instance_name

1 row

device_lists_changes_in_room

user_id, device_id, room_id, stream_id, converted_to_destinations, opentracing_context, instance_name, inserted_ts

2,279 rows

device_lists_changes_in_room_max_pruned_stream_id

Lock, stream_id

1 row

device_lists_outbound_last_success

destination, user_id, stream_id

0 rows

device_lists_outbound_pokes

destination, stream_id, user_id, device_id, sent, ts, opentracing_context, instance_name

0 rows

device_lists_remote_cache

user_id, device_id, content

0 rows

device_lists_remote_extremeties

user_id, stream_id

0 rows

device_lists_remote_pending

stream_id, user_id, device_id, instance_name

0 rows

device_lists_remote_resync

user_id, added_ts

0 rows

device_lists_stream

stream_id, user_id, device_id, instance_name

14 rows

devices

user_id, device_id, display_name, last_seen, ip, user_agent, hidden

9 rows

e2e_cross_signing_keys

user_id, keytype, keydata, stream_id, updatable_without_uia_before_ms, instance_name

6 rows

e2e_cross_signing_signatures

user_id, key_id, target_user_id, target_device_id, signature

2 rows

e2e_device_keys_json

user_id, device_id, ts_added_ms, key_json

2 rows

e2e_fallback_keys_json

user_id, device_id, algorithm, key_id, key_json, used

2 rows

e2e_one_time_keys_json

user_id, device_id, algorithm, key_id, ts_added_ms, key_json

100 rows

e2e_room_keys

user_id, room_id, session_id, version, first_message_index, forwarded_count, is_verified, session_data

0 rows

e2e_room_keys_versions

user_id, version, algorithm, auth_data, deleted, etag

3 rows

erased_users

user_id

1 row

event_auth

event_id, auth_id, room_id

18,143 rows

event_auth_chain_links

origin_chain_id, origin_sequence_number, target_chain_id, target_sequence_number

4,484 rows

event_auth_chain_to_calculate

event_id, room_id, type, state_key

0 rows

event_auth_chains

event_id, chain_id, sequence_number

5,896 rows

event_backward_extremities

event_id, room_id

0 rows

event_edges

event_id, prev_event_id, room_id, is_state

20,221 rows

event_expiry

event_id, expiry_ts

0 rows

event_failed_pull_attempts

room_id, event_id, num_attempts, last_attempt_ts, last_cause

0 rows

event_forward_extremities

event_id, room_id

293 rows

event_json

event_id, room_id, internal_metadata, json, format_version

19,842 rows

event_labels

event_id, label, room_id, topological_ordering

0 rows

event_push_actions

room_id, event_id, user_id, profile_tag, actions, topological_ordering, stream_ordering, notif, highlight, unread, thread_id

284 rows

event_push_actions_staging

event_id, user_id, actions, notif, highlight, unread, thread_id, inserted_ts

0 rows

event_push_summary

user_id, room_id, notif_count, stream_ordering, unread_count, last_receipt_stream_ordering, thread_id

1,217 rows

event_push_summary_last_receipt_stream_id

Lock, stream_id

1 row

event_push_summary_stream_ordering

Lock, stream_ordering

1 row

event_relations

event_id, relates_to_id, relation_type, aggregation_key

1,767 rows

event_reports

id, received_ts, room_id, event_id, user_id, reason, content

0 rows

event_to_state_groups

event_id, state_group

19,842 rows

event_txn_id_device_id

event_id, room_id, user_id, device_id, txn_id, inserted_ts

1 row

events

stream_ordering, topological_ordering, event_id, type, room_id, content, unrecognized_keys, processed, outlier, depth, origin_server_ts, received_ts, sender, contains_url, instance_name, state_key, rejection_reason

19,842 rows

ex_outlier_stream

event_stream_ordering, event_id, state_group, instance_name

0 rows

federation_inbound_events_staging

origin, room_id, event_id, received_ts, event_json, internal_metadata

0 rows

federation_stream_position

type, stream_id, instance_name

2 rows

ignored_users

ignorer_user_id, ignored_user_id

0 rows

local_current_membership

room_id, user_id, event_id, membership, event_stream_ordering

1,396 rows

local_media_repository

media_id, media_type, media_length, created_ts, upload_name, user_id, quarantined_by, url_cache, last_access_ts, safe_from_quarantine, authenticated, sha256

3,944 rows

local_media_repository_thumbnails

media_id, thumbnail_width, thumbnail_height, thumbnail_type, thumbnail_method, thumbnail_length

17,373 rows

local_media_repository_url_cache

url, response_code, etag, expires_ts, og, media_id, download_ts

0 rows

login_tokens

token, user_id, expiry_ts, used_ts, auth_provider_id, auth_provider_session_id

0 rows

monthly_active_users

user_id, timestamp

0 rows

msc4242_state_dag_edges

room_id, event_id, prev_state_event_id

0 rows

msc4242_state_dag_forward_extremities

room_id, event_id

0 rows

open_id_tokens

token, ts_valid_until_ms, user_id

5 rows

partial_state_events

room_id, event_id

0 rows

partial_state_rooms

room_id, device_lists_stream_id, join_event_id, joined_via

0 rows

partial_state_rooms_servers

room_id, server_name

0 rows

per_user_experimental_features

user_id, feature, enabled

0 rows

presence_stream

stream_id, user_id, state, last_active_ts, last_federation_update_ts, last_user_sync_ts, status_msg, currently_active, instance_name

154 rows

profile_updates

stream_id, instance_name, user_id, action, affected_fields, inserted_ts

0 rows

profile_updates_per_user

stream_id, user_id, inserted_ts

0 rows

profiles

user_id, displayname, avatar_url, full_user_id, fields

633 rows

push_rules

id, user_name, rule_id, priority_class, priority, conditions, actions

0 rows

push_rules_enable

id, user_name, rule_id, enabled

0 rows

push_rules_stream

stream_id, event_stream_ordering, user_id, rule_id, op, priority_class, priority, conditions, actions, instance_name

0 rows

pusher_throttle

pusher, room_id, last_sent_ts, throttle_ms

0 rows

pushers

id, user_name, access_token, profile_tag, kind, app_id, app_display_name, device_display_name, pushkey, ts, lang, data, last_stream_ordering, last_success, failing_since, enabled, device_id, instance_name

0 rows

quarantined_media_changes

stream_id, instance_name, origin, media_id, quarantined

0 rows

ratelimit_override

user_id, messages_per_second, burst_count

0 rows

receipts_graph

room_id, receipt_type, user_id, event_ids, thread_id, data

162 rows

receipts_linearized

stream_id, room_id, receipt_type, user_id, event_id, thread_id, event_stream_ordering, data, instance_name

162 rows

received_transactions

transaction_id, origin, ts, response_code, response_json, has_been_referenced

0 rows

redactions

event_id, redacts, have_censored, received_ts, recheck

83 rows

refresh_tokens

id, user_id, device_id, token, next_token_id, expiry_ts, ultimate_session_expiry_ts

0 rows

registration_tokens

token, uses_allowed, pending, completed, expiry_time

0 rows

rejections

event_id, reason, last_check

0 rows

remote_media_cache

media_origin, media_id, media_type, created_ts, upload_name, media_length, filesystem_id, last_access_ts, quarantined_by, authenticated, sha256

0 rows

remote_media_cache_thumbnails

media_origin, media_id, thumbnail_width, thumbnail_height, thumbnail_method, thumbnail_type, thumbnail_length, filesystem_id

0 rows

room_account_data

user_id, room_id, account_data_type, stream_id, content, instance_name

61 rows

room_alias_servers

room_alias, server

5 rows

room_aliases

room_alias, room_id, creator

5 rows

room_ban_redactions

room_id, user_id, redacting_event_id, redact_end_ordering

0 rows

room_depth

room_id, min_depth

293 rows

room_forgetter_stream_pos

Lock, stream_id

1 row

room_memberships

event_id, user_id, sender, room_id, membership, forgotten, display_name, avatar_url, event_stream_ordering, participant

2,519 rows

room_reports

id, received_ts, room_id, user_id, reason

0 rows

room_retention

room_id, event_id, min_lifetime, max_lifetime

0 rows

room_stats_current

room_id, current_state_events, joined_members, invited_members, left_members, banned_members, local_users_in_room, completed_delta_stream_id, knocked_members

293 rows

room_stats_earliest_token

room_id, token

0 rows

room_stats_state

room_id, name, canonical_alias, join_rules, history_visibility, encryption, avatar, guest_access, is_federatable, topic, room_type

293 rows

room_tags

user_id, room_id, tag, content

0 rows

room_tags_revisions

user_id, room_id, stream_id, instance_name

0 rows

rooms

room_id, is_public, creator, room_version, has_auth_chain_index

293 rows

scheduled_tasks

id, action, status, timestamp, resource_id, params, result, error

42 rows

schema_compat_version

Lock, compat_version

1 row

schema_version

Lock, version, upgraded

1 row

server_keys_json

server_name, key_id, from_server, ts_added_ms, ts_valid_until_ms, key_json

0 rows

server_signature_keys

server_name, key_id, from_server, ts_added_ms, verify_key, ts_valid_until_ms

0 rows

sessions

session_type, session_id, value, expiry_time_ms

0 rows

sliding_sync_connection_lazy_members

connection_key, connection_position, room_id, user_id, last_seen_ts

0 rows

sliding_sync_connection_positions

connection_position, connection_key, created_ts

0 rows

sliding_sync_connection_required_state

required_state_id, connection_key, required_state

0 rows

sliding_sync_connection_room_configs

connection_position, room_id, timeline_limit, required_state_id

0 rows

sliding_sync_connection_streams

connection_position, stream, room_id, room_status, last_token

0 rows

sliding_sync_connections

connection_key, user_id, effective_device_id, conn_id, created_ts, last_used_ts

0 rows

sliding_sync_joined_rooms

room_id, event_stream_ordering, bump_stamp, room_type, room_name, is_encrypted, tombstone_successor_room_id

290 rows

sliding_sync_joined_rooms_to_recalculate

room_id

0 rows

sliding_sync_membership_snapshots

room_id, user_id, sender, membership_event_id, membership, forgotten, event_stream_ordering, event_instance_name, has_known_state, room_type, room_name, is_encrypted, tombstone_successor_room_id

1,396 rows

sqlite_sequence

name, seq

0 rows

state_events

event_id, room_id, type, state_key, prev_state

5,896 rows

state_group_edges

state_group, prev_state_group

6,562 rows

state_groups

id, room_id, event_id

6,855 rows

state_groups_pending_deletion

sequence_number, state_group, insertion_ts

0 rows

state_groups_persisting

state_group, instance_name

0 rows

state_groups_state

state_group, room_id, type, state_key, event_id

6,739 rows

stats_incremental_position

Lock, stream_id

1 row

sticky_events

stream_id, instance_name, event_id, room_id, event_stream_ordering, sender, expires_at

0 rows

stream_ordering_to_exterm

stream_ordering, room_id, event_id

11,943 rows

stream_positions

stream_name, instance_name, stream_id

7 rows

thread_subscriptions

stream_id, instance_name, room_id, event_id, user_id, subscribed, automatic, unsubscribed_at_stream_ordering, unsubscribed_at_topological_ordering

0 rows

threads

room_id, thread_id, latest_event_id, topological_ordering, stream_ordering

120 rows

threepid_guest_access_tokens

medium, address, guest_access_token, first_inviter

0 rows

threepid_validation_session

session_id, medium, address, client_secret, last_send_attempt, validated_at

0 rows

threepid_validation_token

token, session_id, next_link, expires

0 rows

timeline_gaps

room_id, instance_name, stream_ordering

0 rows

ui_auth_sessions

session_id, creation_time, serverdict, clientdict, uri, method, description

0 rows

ui_auth_sessions_credentials

session_id, stage_type, result

0 rows

ui_auth_sessions_ips

session_id, ip, user_agent

0 rows

un_partial_stated_event_stream

stream_id, instance_name, event_id, rejection_status_changed

0 rows

un_partial_stated_room_stream

stream_id, instance_name, room_id

0 rows

user_daily_visits

user_id, device_id, timestamp, user_agent

58 rows

user_directory

user_id, room_id, display_name, avatar_url

1 row

user_directory_stale_remote_users

user_id, user_server_name, next_try_at_ts, retry_counter

0 rows

user_directory_stream_pos

Lock, stream_id

1 row

user_external_ids

auth_provider, external_id, user_id

0 rows

user_filters

user_id, filter_id, filter_json, full_user_id

1 row

user_ips

user_id, access_token, device_id, ip, user_agent, last_seen

10 rows

user_reports

id, received_ts, target_user_id, user_id, reason

0 rows

user_signature_stream

stream_id, from_user_id, user_ids, instance_name

2 rows

user_stats_current

user_id, joined_rooms, completed_delta_stream_id

634 rows

user_threepid_id_server

user_id, medium, address, id_server

0 rows

user_threepids

user_id, medium, address, validated_at, added_at

0 rows

users

name, password_hash, creation_ts, admin, upgrade_ts, is_guest, appservice_id, consent_version, consent_server_notice_sent, user_type, deactivated, shadow_banned, consent_ts, approved, locked, suspended

634 rows

users_in_public_rooms

user_id, room_id

0 rows

users_pending_deactivation

user_id

0 rows

users_to_send_full_presence_to

user_id, presence_stream_id

0 rows

users_who_share_private_rooms

user_id, other_user_id, room_id

0 rows

worker_locks

lock_name, lock_key, instance_name, token, last_renewed_ts

0 rows

worker_read_write_locks

lock_name, lock_key, instance_name, write_lock, token, last_renewed_ts

0 rows

worker_read_write_locks_mode

lock_name, lock_key, write_lock, token

0 rows

... and 18 hidden tables

Views

  • messages
  • conversations
  • attachments
  • live_coverage

Download SQLite DB: chat.db 104.7 MB

Powered by Datasette · Queries took 393.95ms