Test Data Migration

I had previously made a migration to add test data into my database.
The two tables in particular is one called 'resources' and one called
'permits'. Everything worked fine.

I then switched the 'permits' table to contain foreign keys from
'resources' and now the migration successfully runs, without any
errors, but the 'permits' table comes up empty. The 'resources' table
still populates normally.

I am using the HABTM relationship between the two tables.

Is there something special now that I should be doing in order to add
permits into the db?