Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJonne Haß <jonne.hass@offerista.com>2019-04-26 13:27:08 +0300
committerJonne Haß <jonne.hass@offerista.com>2019-04-26 14:40:43 +0300
commit5df1e086108e97c8ce55a46d6e8aacf8eabfe141 (patch)
treec7119637e0b58e48d966f4fffe9c3b16107c5736 /db
parent3f77507b1530ac90a36a6cb90cb60357be48158f (diff)
migrate authorizations scopes column to text
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190426100618_change_authorizations_scope_column_to_text.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20190426100618_change_authorizations_scope_column_to_text.rb b/db/migrate/20190426100618_change_authorizations_scope_column_to_text.rb
new file mode 100644
index 000000000..d8990269d
--- /dev/null
+++ b/db/migrate/20190426100618_change_authorizations_scope_column_to_text.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class ChangeAuthorizationsScopeColumnToText < ActiveRecord::Migration[5.1]
+ def change
+ change_column :authorizations, :scopes, :text
+ end
+end