preaction / Yancy

The Best Web Framework Deserves the Best Content Management System
http://preaction.me/yancy/
Other
54 stars 21 forks source link

create_schema option #86

Open pavelsr opened 4 years ago

pavelsr commented 4 years ago

Is there any option for automatic tables creation according schema config property? Like manage.py migrate in Django

preaction commented 4 years ago

Not at the moment, no. I'd certainly accept that as an addition, but for right now I use the migrations feature of whatever Mojo-based database driver I'm using (Mojo::mysql::Migrations Mojo::SQLite::Migrations Mojo::Pg::Migrations) or DBIx::Class::Schema::Versioned.