Models and migrations to save plant configurations