aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific/postgresql
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-20 01:43:49 +0300
committerGravatar Vitaly Takmazov2022-12-20 01:58:27 +0300
commit1d3c7f3583cd5807f1c619fad1f379e895c4bdce (patch)
treecee757ecdc78c433ba7bd5553c89212e8d543504 /src/main/resources/db/specific/postgresql
parenta3bb23ba498de4a71406e3b050a436619554271b (diff)
Update social tokens field size in the database
Diffstat (limited to 'src/main/resources/db/specific/postgresql')
-rw-r--r--src/main/resources/db/specific/postgresql/V1.25__update_tokens_size.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/postgresql/V1.25__update_tokens_size.sql b/src/main/resources/db/specific/postgresql/V1.25__update_tokens_size.sql
new file mode 100644
index 00000000..a1c7bbac
--- /dev/null
+++ b/src/main/resources/db/specific/postgresql/V1.25__update_tokens_size.sql
@@ -0,0 +1,3 @@
+ALTER TABLE vk ALTER COLUMN access_token TYPE character varying(255);
+ALTER TABLE twitter ALTER COLUMN access_token TYPE character varying(255);
+ALTER TABLE facebook ALTER COLUMN access_token TYPE character varying(255); \ No newline at end of file