Commit 879b8db7 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

database: Replanning the database and its data marts 5

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
parent c6484c67
......@@ -128,6 +128,15 @@ CREATE TABLE dm_invent_machine (
--hd_used VARCHAR
);
--------------------------------------------------------------------------------
-- Last load audit table
CREATE TABLE dm_audit_school (
project mec_project NOT NULL,
inep VARCHAR(10) NOT NULL,
school VARCHAR(100) NOT NULL,
);
--------------------------------------------------------------------------------
-- Last load alert tables
......@@ -167,6 +176,8 @@ CREATE TABLE dm_alert_machine (
inep VARCHAR(10) NOT NULL,
school VARCHAR(100) NOT NULL,
machine MACADDR NOT NULL,
old_date DATE NOT NULL,
new_date DATE NOT NULL,
os VARCHAR NOT NULL,
processor VARCHAR NOT NULL,
old_memory_amount VARCHAR NOT NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment