mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: bypass views
This commit is contained in:
@@ -19,7 +19,7 @@ class DiscourseCLI < Thor
|
|||||||
|
|
||||||
sql = "SELECT table_name, column_name
|
sql = "SELECT table_name, column_name
|
||||||
FROM information_schema.columns
|
FROM information_schema.columns
|
||||||
WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%')"
|
WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%') and is_updatable = 'YES'"
|
||||||
|
|
||||||
cnn = ActiveRecord::Base.connection.raw_connection
|
cnn = ActiveRecord::Base.connection.raw_connection
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user