Initial project import
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE documentos (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
condominio_id BIGINT NOT NULL REFERENCES condominios(id),
|
||||
tipo VARCHAR(40),
|
||||
nome_arquivo VARCHAR(255) NOT NULL,
|
||||
caminho_armazenamento VARCHAR(500) NOT NULL,
|
||||
versao INT NOT NULL DEFAULT 1,
|
||||
enviado_por BIGINT,
|
||||
criado_em TIMESTAMP NOT NULL DEFAULT now()
|
||||
);
|
||||
Reference in New Issue
Block a user