diff --git a/pkg/database/migrations/000006_add_ftp_credentials.down.sql b/pkg/database/migrations/000006_add_ftp_credentials.down.sql new file mode 100644 index 0000000..d52ece2 --- /dev/null +++ b/pkg/database/migrations/000006_add_ftp_credentials.down.sql @@ -0,0 +1,6 @@ +BEGIN; + ALTER TABLE servers + DROP COLUMN ftp_port, + DROP COLUMN ftp_username, + DROP COLUMN ftp_password; +COMMIT; diff --git a/pkg/database/migrations/000006_add_ftp_credentials.up.sql b/pkg/database/migrations/000006_add_ftp_credentials.up.sql new file mode 100644 index 0000000..afa9538 --- /dev/null +++ b/pkg/database/migrations/000006_add_ftp_credentials.up.sql @@ -0,0 +1,6 @@ +BEGIN; + ALTER TABLE servers + ADD COLUMN ftp_port int4, + ADD COLUMN ftp_username varchar(200), + ADD COLUMN ftp_password varchar(200); +COMMIT;