Add column `employee_infos.role`
This commit is contained in:
parent
8fae54cffa
commit
cb2abf2069
|
@ -11,6 +11,7 @@ CREATE TABLE employee_infos (
|
||||||
employee_id SERIAL NOT NULL,
|
employee_id SERIAL NOT NULL,
|
||||||
locale VARCHAR NOT NULL,
|
locale VARCHAR NOT NULL,
|
||||||
name VARCHAR NOT NULL,
|
name VARCHAR NOT NULL,
|
||||||
|
role VARCHAR NOT NULL,
|
||||||
|
|
||||||
CONSTRAINT employee_id_fk FOREIGN KEY (employee_id) REFERENCES employees(id)
|
CONSTRAINT employee_id_fk FOREIGN KEY (employee_id) REFERENCES employees(id)
|
||||||
);
|
);
|
||||||
|
|
|
@ -4,6 +4,7 @@ table! {
|
||||||
employee_id -> Int4,
|
employee_id -> Int4,
|
||||||
locale -> Varchar,
|
locale -> Varchar,
|
||||||
name -> Varchar,
|
name -> Varchar,
|
||||||
|
role -> Varchar,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue