initial commit
This commit is contained in:
commit
c21f569144
37 changed files with 3956 additions and 0 deletions
36
database/migrations/20250412193502_file.sql
Normal file
36
database/migrations/20250412193502_file.sql
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
-- +goose Up
|
||||
-- Diff code generated with pgModeler (PostgreSQL Database Modeler)
|
||||
-- pgModeler version: 1.2.0-alpha1
|
||||
-- Diff date: 2025-04-12 16:39:19
|
||||
-- Source model: dev1
|
||||
-- Database: dev1
|
||||
-- PostgreSQL version: 17.0
|
||||
|
||||
-- [ Diff summary ]
|
||||
-- Dropped objects: 1
|
||||
-- Created objects: 1
|
||||
-- Changed objects: 0
|
||||
|
||||
SET search_path=public,pg_catalog;
|
||||
-- ddl-end --
|
||||
|
||||
|
||||
-- [ Dropped objects ] --
|
||||
DROP TABLE IF EXISTS public.usuario CASCADE;
|
||||
-- ddl-end --
|
||||
|
||||
|
||||
-- [ Created objects ] --
|
||||
-- object: public.file | type: TABLE --
|
||||
-- DROP TABLE IF EXISTS public.file CASCADE;
|
||||
CREATE TABLE public.file (
|
||||
id uuid NOT NULL,
|
||||
name varchar(256) NOT NULL,
|
||||
size integer NOT NULL,
|
||||
created_at timestamp NOT NULL,
|
||||
CONSTRAINT file_pk PRIMARY KEY (id)
|
||||
);
|
||||
-- ddl-end --
|
||||
ALTER TABLE public.file OWNER TO dev;
|
||||
-- ddl-end --
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue