I am new to learning Symfony, (Symfony 4.1.6) and can't figure this out.
I have a database, and it contains a lot of tables for populating html select
type inputs. they are in the database to ensure Foreign Key constraints in other records.
Is there a way to "add" this data to the database and track it? (via git) or should I resort to keeping an SQL file of just the "inserts"
I have looked at Fixtures but they seem to be mostly for dummy data. I want to insert real data. What is the "best practice" if any to do this?
****UPDATE****
I should add that the development of this project started outside Symfony, and so the database had already been manually created with a handful of records. I used bin/console doctrine:mapping:import 'App\Entity' annotation --path=src/Entity
to build the entities.
Is there a similar way to "suck" the few records out of the db as well?
Maybe I just need to manually add the SQL insert statements to the first (or second) migrate file.