-- Sequence: funcionarios_id_seq

-- DROP SEQUENCE funcionarios_id_seq;

CREATE SEQUENCE funcionarios_id_seq
  INCREMENT 1
  MINVALUE 1
  MAXVALUE 9223372036854775807
  START 1
  CACHE 1;
ALTER TABLE funcionarios_id_seq OWNER TO postgres;


-- Table: funcionarios

-- DROP TABLE funcionarios;

CREATE TABLE funcionarios
(
  id int4 NOT NULL DEFAULT nextval('funcionarios_id_seq'::regclass),
  nome varchar(50) NOT NULL,
  funcao varchar(20) NOT NULL,
  endereco varchar(80) NOT NULL,
  telefone varchar(20) NOT NULL,
  CONSTRAINT funcionarios_pkey PRIMARY KEY (id)
) 
WITHOUT OIDS;
ALTER TABLE funcionarios OWNER TO postgres;


