summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/intent-analysis-init.sql
blob: 64074facb46d0659f962d045ab4b8a67fc9d6101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
create table if not exists intent(
    intent_id varchar(255) primary key,
    intent_name varchar(255)
);

create table if not exists expectation(
    expectation_id varchar(255) primary key,
    expectation_name varchar(255),
    target_moi varchar(255),
    intent_id varchar(255)
);

create table if not exists state(
    state_id varchar(255) primary key,
    state_name varchar(255),
    is_satisfied boolean,
    condition varchar(255),
    expectation_id varchar(255)
);