You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Brand
include Clear::Model
primary_key
column name : String
end
The database is
CREATE TABLE public.brands
(
id integer NOT NULL DEFAULT,
name text COLLATE pg_catalog."default"
)
I wish change de column name in the database
class Brand
include Clear::Model
primary_key
column name : String, column_name: "brand_name"
end
Without change the database, i get this error :
Exception: You're trying to access to the column name but it is not initialized.
If I change the database name, I get the same error. It's looks like the column_name is not read
I tried with another object, I got the same result. The column attribute is not used in the query
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I get an error, i don't understand.
My objet is
The database is
I wish change de column name in the database
Without change the database, i get this error :
Exception: You're trying to access to the column
name
but it is not initialized.If I change the database name, I get the same error. It's looks like the column_name is not read
I tried with another object, I got the same result. The column attribute is not used in the query
Thanks
The text was updated successfully, but these errors were encountered: