Sha256: a36ddbc3183fb1381cc40fc2834e64671563d90c8a9f4b77aa2e1ed73165672f

Contents?: true

Size: 862 Bytes

Versions: 18

Compression:

Stored size: 862 Bytes

Contents

= Change table and column names

All tables that Rodauth uses will have a configuration method that ends with
+_table+ for configuring the table name.  For example, if you store user accounts
in the +users+ table instead of +accounts+ table, you can use the following
in your configuration:

  accounts_table :users

All columns that Rodauth uses will have a configuration method that ends with
+_column+ for configuring the column name.  For example, if you are storing the
login for accounts in the +login+ column instead of the +email+ column, you
can use the following in your configuration:

  login_column :login

Please see the documentation for Rodauth features for the names of the
configuration methods that you can use.  You can see the default values for
the tables and columns in the {"Creating tables" section of the README}[rdoc-ref:README.rdoc].

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.34.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.33.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.32.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.31.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.30.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.29.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.28.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.27.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.26.1 doc/guides/change_table_and_column_names.rdoc
rodauth-2.26.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.25.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.24.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.23.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.22.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.21.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.20.0 doc/guides/change_table_and_column_names.rdoc
rodauth-2.19.0 doc/guides/change_table_and_column_names.rdoc