From b286f1dea45b4ddda372e15c9767d398550f8d1e Mon Sep 17 00:00:00 2001 From: Luke Shay Date: Fri, 8 Jul 2022 09:24:43 -0500 Subject: [PATCH] expanded column --- db/migrations/20220708090725_expand_user_agent.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrations/20220708090725_expand_user_agent.sql diff --git a/db/migrations/20220708090725_expand_user_agent.sql b/db/migrations/20220708090725_expand_user_agent.sql new file mode 100644 index 0000000..a9703c2 --- /dev/null +++ b/db/migrations/20220708090725_expand_user_agent.sql @@ -0,0 +1,6 @@ +-- migrate:up +ALTER TABLE lukeandjadi_com.rsvps ALTER COLUMN user_agent TYPE varchar(256); + +-- migrate:down + +ALTER TABLE lukeandjadi_com.rsvps ALTER COLUMN user_agent TYPE varchar(127);