Commit Graph

4 Commits

Author SHA1 Message Date
Mayra Cabrera bd961ad1a1 Reorders migrations readme file
The document is now split in two sections:
- Testing an ActiveRecord migration
- Testing an non-ActiveRecord migration

Both sections have an example
2019-01-17 18:11:10 -06:00
Michael Kozono 080dba4a7e Avoid dropping tables in test
And use :migration tag to use deletion strategy, and to avoid caching tables, and to lock into a particular schema.

Attempting to fix intermittent spec errors `PG::UndefinedTable: ERROR:  relation "public.untracked_files_for_uploads" does not exist`.
2018-02-14 12:31:16 +01:00
Grzegorz Bizon e2030ca019 Extend migrations testing documentation 2017-08-16 13:15:41 +02:00
Grzegorz Bizon 347ec38cbf Document a new migrations testing technique 2017-06-15 13:05:56 +02:00