x
1
-- File: trig_i_i_syst_sessions.eex.sql
2
-- Location: musebms/database/components/system/mscmp_syst_session/ms_syst/api_views/syst_sessions/trig_i_i_syst_sessions.eex.sql
3
-- Project: Muse Systems Business Management System
4
--
5
-- Copyright © Lima Buttgereit Holdings LLC d/b/a Muse Systems
6
-- This file may include content copyrighted and licensed from third parties.
7
--
8
-- See the LICENSE file in the project root for license terms and conditions.
9
-- See the NOTICE file in the project root for copyright ownership information.
10
--
11
-- muse.information@musesystems.com :: https://muse.systems
12
13
BEGIN
14
15
INSERT INTO ms_syst_data.syst_sessions
16
( internal_name, session_data, session_expires )
17
VALUES
18
( new.internal_name, new.session_data, new.session_expires )
19
RETURNING * INTO new;
20
21
RETURN new;
22
23
END;