When using ‘db_table’ to explicitly set the database table name, how can you preserve the naming convention of “app_table_name”? The app name is removed.
When using ‘db_table’ to explicitly set the database table name, how can you preserve
Share
As far as I know the
db_tableoption will get precedence over the existing convention of app name + model name. If you set it explicitly you will have to prefix the app name yourself.