From eff61bb8d3496bc1c5be4b1051f99ed4470a47ff Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 5 Apr 2023 22:01:18 +0200 Subject: [PATCH] fix(backend): allow longer name/company --- .../20230405195753_relax_varchar_restrictions.down.sql | 1 + .../20230405195753_relax_varchar_restrictions.up.sql | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 backend/migrations/20230405195753_relax_varchar_restrictions.down.sql create mode 100644 backend/migrations/20230405195753_relax_varchar_restrictions.up.sql diff --git a/backend/migrations/20230405195753_relax_varchar_restrictions.down.sql b/backend/migrations/20230405195753_relax_varchar_restrictions.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20230405195753_relax_varchar_restrictions.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20230405195753_relax_varchar_restrictions.up.sql b/backend/migrations/20230405195753_relax_varchar_restrictions.up.sql new file mode 100644 index 0000000000..6aae6118ca --- /dev/null +++ b/backend/migrations/20230405195753_relax_varchar_restrictions.up.sql @@ -0,0 +1,3 @@ +-- Add up migration script here +ALTER TABLE password ALTER COLUMN company TYPE VARCHAR(255); +ALTER TABLE password ALTER COLUMN name TYPE VARCHAR(255);