Ed alembic

Change database creation of ed.
We now use alembic instead of sql scripts to better handle migrations
actually we have a default value for this attribute