mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: bypass views
This commit is contained in:
parent
b2d17a09ff
commit
a5ad2411ef
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user