Flowdock
method

primary_key_prefix_type

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ModelSchema
primary_key_prefix_type public

The prefix type that will be prepended to every primary key column name. The options are :table_name and :table_name_with_underscore. If the first is specified, the Product class will look for “productid” instead of “id” as the primary column. If the latter is specified, the Product class will look for “product_id” instead of “id”. Remember that this is a global setting for all Active Records.

Show source
Register or log in to add new notes.