How To Get Sample Data Into Test Db?

How to get sample data into test db?

Per the documentation, fixtures should only be used for data that changes.

migration scripts would work if it can be conditioned to run only against the test db.

I need to get a few rows of data into my db, and it will not change during testing.

For now I am going to use

method to figure out if I am using the test connection to insert test row.