Orders para test y flujo de migraciones mas simple
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS db_versions (
|
||||
id BIGINT BIGINT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
||||
version TEXT, -- version semantica x.x.x
|
||||
notes TEXT,
|
||||
creation_date TIMESTAMP NOT NULL DEFAULT (now() at time zone 'utc'),
|
||||
stable BOOLEAN DEFAULT FALSE -- Si la version ha sido testada y se puede desplegar
|
||||
);
|
||||
|
||||
INSERT INTO db_versions (
|
||||
version,
|
||||
notes
|
||||
)
|
||||
VALUES (
|
||||
'0.1.0',
|
||||
'Versión base'
|
||||
);
|
||||
Reference in New Issue
Block a user