Table Configuration
Configuring Tables
To configure table settings globally, you may do so during NoBrainer configuration:
To configure per table settings, you may use Model.table_config
as such:
Synchronizing Table Schema
When changing the configuration of tables, the new schema must be reflected on the database.
When using Rails, you may use the rake task:
Programmatically, you may invoke sync_schema
:
NoBrainer waits for the tables to be ready by default.
You may pass :wait => false
to sync_schema
to skip the wait.