Skip to content
Snippets Groups Projects
Commit 4588dd11 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #2386 add data migration in 150

parent ea6954b9
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,9 @@ ALTER TABLE listinstance ADD process_date timestamp without time zone; ...@@ -246,6 +246,9 @@ ALTER TABLE listinstance ADD process_date timestamp without time zone;
ALTER TABLE listmodels DROP COLUMN IF EXISTS title; ALTER TABLE listmodels DROP COLUMN IF EXISTS title;
ALTER TABLE listmodels ADD COLUMN title varchar(255); ALTER TABLE listmodels ADD COLUMN title varchar(255);
ALTER TABLE sendmail DROP COLUMN IF EXISTS sender_email;
ALTER TABLE sendmail ADD COLUMN sender_email varchar(255);
-- ALTER TABLE listmodels DROP COLUMN IF EXISTS description; -- ALTER TABLE listmodels DROP COLUMN IF EXISTS description;
-- ALTER TABLE listmodels ADD COLUMN description varchar(255); -- ALTER TABLE listmodels ADD COLUMN description varchar(255);
......
...@@ -3420,6 +3420,7 @@ CREATE TABLE sendmail ...@@ -3420,6 +3420,7 @@ CREATE TABLE sendmail
email_status character varying(1) NOT NULL DEFAULT 'D', email_status character varying(1) NOT NULL DEFAULT 'D',
creation_date timestamp without time zone NOT NULL, creation_date timestamp without time zone NOT NULL,
send_date timestamp without time zone DEFAULT NULL, send_date timestamp without time zone DEFAULT NULL,
sender_email character varying(255) DEFAULT NULL,
CONSTRAINT sendmail_pkey PRIMARY KEY (email_id ) CONSTRAINT sendmail_pkey PRIMARY KEY (email_id )
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment