{
    "_meta": {
        "description": "This file contains a serialized version of schema entities for drift.",
        "version": "1.2.0"
    },
    "options": {
        "store_date_time_values_as_text": false
    },
    "entities": [
        {
            "id": 0,
            "references": [],
            "type": "table",
            "data": {
                "name": "contacts",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "user_id",
                        "getter_name": "userId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "username",
                        "getter_name": "username",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "UNIQUE",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "UNIQUE"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            "unique"
                        ]
                    },
                    {
                        "name": "display_name",
                        "getter_name": "displayName",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "nick_name",
                        "getter_name": "nickName",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "avatar_svg",
                        "getter_name": "avatarSvg",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "my_avatar_counter",
                        "getter_name": "myAvatarCounter",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "accepted",
                        "getter_name": "accepted",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"accepted\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"accepted\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "requested",
                        "getter_name": "requested",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"requested\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"requested\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "blocked",
                        "getter_name": "blocked",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"blocked\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"blocked\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "verified",
                        "getter_name": "verified",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"verified\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"verified\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "archived",
                        "getter_name": "archived",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"archived\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"archived\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "pinned",
                        "getter_name": "pinned",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"pinned\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"pinned\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "deleted",
                        "getter_name": "deleted",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"deleted\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"deleted\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "also_best_friend",
                        "getter_name": "alsoBestFriend",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"also_best_friend\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"also_best_friend\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "delete_messages_after_x_minutes",
                        "getter_name": "deleteMessagesAfterXMinutes",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('1440')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "total_media_counter",
                        "getter_name": "totalMediaCounter",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "last_message_send",
                        "getter_name": "lastMessageSend",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "last_message_received",
                        "getter_name": "lastMessageReceived",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "last_flame_counter_change",
                        "getter_name": "lastFlameCounterChange",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "last_flame_sync",
                        "getter_name": "lastFlameSync",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "last_message_exchange",
                        "getter_name": "lastMessageExchange",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "flame_counter",
                        "getter_name": "flameCounter",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "user_id"
                ]
            }
        },
        {
            "id": 1,
            "references": [
                0
            ],
            "type": "table",
            "data": {
                "name": "messages",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "contact_id",
                        "getter_name": "contactId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "REFERENCES contacts (user_id)",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "REFERENCES contacts (user_id)"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            {
                                "foreign_key": {
                                    "to": {
                                        "table": "contacts",
                                        "column": "user_id"
                                    },
                                    "initially_deferred": false,
                                    "on_update": null,
                                    "on_delete": null
                                }
                            }
                        ]
                    },
                    {
                        "name": "message_id",
                        "getter_name": "messageId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "PRIMARY KEY AUTOINCREMENT",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "PRIMARY KEY AUTOINCREMENT"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            "auto-increment"
                        ]
                    },
                    {
                        "name": "message_other_id",
                        "getter_name": "messageOtherId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "media_upload_id",
                        "getter_name": "mediaUploadId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "media_download_id",
                        "getter_name": "mediaDownloadId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "response_to_message_id",
                        "getter_name": "responseToMessageId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "response_to_other_message_id",
                        "getter_name": "responseToOtherMessageId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "acknowledge_by_user",
                        "getter_name": "acknowledgeByUser",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"acknowledge_by_user\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"acknowledge_by_user\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "media_stored",
                        "getter_name": "mediaStored",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"media_stored\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"media_stored\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "download_state",
                        "getter_name": "downloadState",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('2')",
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "const EnumIndexConverter<DownloadState>(DownloadState.values)",
                            "dart_type_name": "DownloadState"
                        }
                    },
                    {
                        "name": "acknowledge_by_server",
                        "getter_name": "acknowledgeByServer",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"acknowledge_by_server\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"acknowledge_by_server\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "error_while_sending",
                        "getter_name": "errorWhileSending",
                        "moor_type": "bool",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "CHECK (\"error_while_sending\" IN (0, 1))",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "CHECK (\"error_while_sending\" IN (0, 1))"
                        },
                        "default_dart": "const CustomExpression('0')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "media_retransmission_state",
                        "getter_name": "mediaRetransmissionState",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('\\'none\\'')",
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "const EnumNameConverter<MediaRetransmitting>(MediaRetransmitting.values)",
                            "dart_type_name": "MediaRetransmitting"
                        }
                    },
                    {
                        "name": "kind",
                        "getter_name": "kind",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "const EnumNameConverter<MessageKind>(MessageKind.values)",
                            "dart_type_name": "MessageKind"
                        }
                    },
                    {
                        "name": "content_json",
                        "getter_name": "contentJson",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "opened_at",
                        "getter_name": "openedAt",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "send_at",
                        "getter_name": "sendAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "updated_at",
                        "getter_name": "updatedAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": []
            }
        },
        {
            "id": 2,
            "references": [],
            "type": "table",
            "data": {
                "name": "media_uploads",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "media_upload_id",
                        "getter_name": "mediaUploadId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "PRIMARY KEY AUTOINCREMENT",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "PRIMARY KEY AUTOINCREMENT"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            "auto-increment"
                        ]
                    },
                    {
                        "name": "state",
                        "getter_name": "state",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('\\'pending\\'')",
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "const EnumNameConverter<UploadState>(UploadState.values)",
                            "dart_type_name": "UploadState"
                        }
                    },
                    {
                        "name": "metadata",
                        "getter_name": "metadata",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "MediaUploadMetadataConverter()",
                            "dart_type_name": "MediaUploadMetadata"
                        }
                    },
                    {
                        "name": "message_ids",
                        "getter_name": "messageIds",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "IntListTypeConverter()",
                            "dart_type_name": "List<int>"
                        }
                    },
                    {
                        "name": "encryption_data",
                        "getter_name": "encryptionData",
                        "moor_type": "string",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "MediaEncryptionDataConverter()",
                            "dart_type_name": "MediaEncryptionData"
                        }
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": []
            }
        },
        {
            "id": 3,
            "references": [],
            "type": "table",
            "data": {
                "name": "media_downloads",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "message_id",
                        "getter_name": "messageId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "download_token",
                        "getter_name": "downloadToken",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [],
                        "type_converter": {
                            "dart_expr": "IntListTypeConverter()",
                            "dart_type_name": "List<int>"
                        }
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": []
            }
        },
        {
            "id": 4,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_identity_key_stores",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "device_id",
                        "getter_name": "deviceId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "name",
                        "getter_name": "name",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "identity_key",
                        "getter_name": "identityKey",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "device_id",
                    "name"
                ]
            }
        },
        {
            "id": 5,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_pre_key_stores",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "pre_key_id",
                        "getter_name": "preKeyId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "pre_key",
                        "getter_name": "preKey",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "pre_key_id"
                ]
            }
        },
        {
            "id": 6,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_sender_key_stores",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "sender_key_name",
                        "getter_name": "senderKeyName",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "sender_key",
                        "getter_name": "senderKey",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "sender_key_name"
                ]
            }
        },
        {
            "id": 7,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_session_stores",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "device_id",
                        "getter_name": "deviceId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "name",
                        "getter_name": "name",
                        "moor_type": "string",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "session_record",
                        "getter_name": "sessionRecord",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "device_id",
                    "name"
                ]
            }
        },
        {
            "id": 8,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_contact_pre_keys",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "contact_id",
                        "getter_name": "contactId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "pre_key_id",
                        "getter_name": "preKeyId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "pre_key",
                        "getter_name": "preKey",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "contact_id",
                    "pre_key_id"
                ]
            }
        },
        {
            "id": 9,
            "references": [],
            "type": "table",
            "data": {
                "name": "signal_contact_signed_pre_keys",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "contact_id",
                        "getter_name": "contactId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "signed_pre_key_id",
                        "getter_name": "signedPreKeyId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "signed_pre_key",
                        "getter_name": "signedPreKey",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "signed_pre_key_signature",
                        "getter_name": "signedPreKeySignature",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "created_at",
                        "getter_name": "createdAt",
                        "moor_type": "dateTime",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": [],
                "explicit_pk": [
                    "contact_id"
                ]
            }
        },
        {
            "id": 10,
            "references": [
                0,
                1
            ],
            "type": "table",
            "data": {
                "name": "message_retransmissions",
                "was_declared_in_moor": false,
                "columns": [
                    {
                        "name": "retransmission_id",
                        "getter_name": "retransmissionId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "PRIMARY KEY AUTOINCREMENT",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "PRIMARY KEY AUTOINCREMENT"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            "auto-increment"
                        ]
                    },
                    {
                        "name": "contact_id",
                        "getter_name": "contactId",
                        "moor_type": "int",
                        "nullable": false,
                        "customConstraints": null,
                        "defaultConstraints": "REFERENCES contacts (user_id) ON DELETE CASCADE",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "REFERENCES contacts (user_id) ON DELETE CASCADE"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            {
                                "foreign_key": {
                                    "to": {
                                        "table": "contacts",
                                        "column": "user_id"
                                    },
                                    "initially_deferred": false,
                                    "on_update": null,
                                    "on_delete": "cascade"
                                }
                            }
                        ]
                    },
                    {
                        "name": "message_id",
                        "getter_name": "messageId",
                        "moor_type": "int",
                        "nullable": true,
                        "customConstraints": null,
                        "defaultConstraints": "REFERENCES messages (message_id) ON DELETE CASCADE",
                        "dialectAwareDefaultConstraints": {
                            "sqlite": "REFERENCES messages (message_id) ON DELETE CASCADE"
                        },
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": [
                            {
                                "foreign_key": {
                                    "to": {
                                        "table": "messages",
                                        "column": "message_id"
                                    },
                                    "initially_deferred": false,
                                    "on_update": null,
                                    "on_delete": "cascade"
                                }
                            }
                        ]
                    },
                    {
                        "name": "plaintext_content",
                        "getter_name": "plaintextContent",
                        "moor_type": "blob",
                        "nullable": false,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "push_data",
                        "getter_name": "pushData",
                        "moor_type": "blob",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "encrypted_hash",
                        "getter_name": "encryptedHash",
                        "moor_type": "blob",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    },
                    {
                        "name": "acknowledge_by_server_at",
                        "getter_name": "acknowledgeByServerAt",
                        "moor_type": "dateTime",
                        "nullable": true,
                        "customConstraints": null,
                        "default_dart": null,
                        "default_client_dart": null,
                        "dsl_features": []
                    }
                ],
                "is_virtual": false,
                "without_rowid": false,
                "constraints": []
            }
        }
    ]
}