-## Non-reflected tables may be defined and mapped at module level
-#foo_table = sa.Table("Foo", meta.metadata,
-# sa.Column("id", sa.types.Integer, primary_key=True),
-# sa.Column("bar", sa.types.String(255), nullable=False),
-# )
-#
-#class Foo(object):
-# pass
-#
-#orm.mapper(Foo, foo_table)
+# Finally, call elixir to set up the tables.
+# but not if using reflected tables
+if not elixir.options_defaults.get('autoload', False):
+ elixir.setup_all()