aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/schema.sql
blob: 72cdbcf0931ef3f8250a0a804e5bc1da293908d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
CREATE TABLE DMAAP_NOTIFICATIONS(
	notification TEXT PRIMARY KEY NOT NULL,
	created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE BUFFERED_NOTIFICATIONS(
	notification TEXT PRIMARY KEY NOT NULL,
        cluster_id TEXT NOT NULL,
	created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE CLUSTER_DETAILS(
	cluster_id TEXT PRIMARY KEY NOT NULL,
	cluster_info TEXT NOT NULL,
	child_thread_id BIGINT UNIQUE NOT NULL
);
CREATE TABLE CELL_INFO(
	cell_id TEXT PRIMARY KEY NOT NULL,
	pnf_name TEXT NOT NULL
);
CREATE TABLE PCI_REQUESTS(
	transaction_id TEXT PRIMARY KEY,
	child_thread_id BIGINT UNIQUE NOT NULL
);
CREATE TABLE FAULT_NOTIFICATIONS(
	notification TEXT PRIMARY KEY NOT NULL,
	created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE PERFORMANCE_NOTIFICATIONS(
	notification TEXT PRIMARY KEY NOT NULL,
	created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE HANDOVER_METRICS(
	src_cell_id TEXT PRIMARY KEY NOT NULL,
	ho_details TEXT NOT NULL,
	created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);