Migrations: The same class name form migration and model cau

I need to bootstrap my database when creating schema. My model class and
migration class are the same.

When I trying: ClassName.create :foo => ‘bar’ in migration I got:

undefined method `create’ for
#ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0xb75a357c

How to avoid this? I think the same class names causes problem, but I
can’t change class names.