Ecto dont creates table but migration success

It looks to me like your migration file is empty.

There’s some good reference here in the docs for building a migration file: Ecto.Migration — Ecto SQL v3.14.0

Also, you might find the following useful when you create your schemas: mix phx.gen.schema — Phoenix v1.6.4

This particular mix task will create and populate the migration file as well (edit: along with the schema of course :slight_smile: ).