All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.aroma.sql.ddl.inbox_ddl.sql Maven / Gradle / Ivy

---------------------------------------
-- DDL FOR AROMA INBOX MESSAGES
--
-- The inbox is where messages are kept individually for
-- Aroma users
---------------------------------------

CREATE TABLE IF NOT EXISTS Inbox
(
    user_id       UUID,
    message_id    UUID,
    app_id        UUID,
    app_name      TEXT,
    title         TEXT,
    body          TEXT,
    priority      TEXT,
    time_created  TIMESTAMPTZ DEFAULT now(),
    time_received TIMESTAMPTZ DEFAULT now(),
    hostname      TEXT,
    mac_address   TEXT,
    device_name   TEXT,

    PRIMARY KEY (user_id, message_id)
);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy