You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// You could also do `use foo_crate::MIGRATOR` and just refer to it as `MIGRATOR` here.
@@ -188,9 +184,12 @@ the database to already have users and posts in it so the comments tests don't h
188
184
189
185
You can either pass a list of fixture to the attribute `fixtures` in three different operating modes:
190
186
191
-
1) Pass a list of references files in `./fixtures` (resolved as `./fixtures/{name}.sql`, `.sql` added only if extension is missing);
192
-
2) Pass a list of file paths (including associated extension), in which case they can either be absolute, or relative to the current file;
193
-
3) Pass a `path = <path to folder>` parameter and a `scripts(<filename_1>, <filename_2>, ...)` parameter that are relative to the provided path (resolved as `{path}/{filename_x}.sql`, `.sql` added only if extension is missing).
187
+
1) Pass a list of references files in `./fixtures` (resolved as `./fixtures/{name}.sql`, `.sql` added only if extension
188
+
is missing);
189
+
2) Pass a list of file paths (including associated extension), in which case they can either be absolute, or relative to
190
+
the current file;
191
+
3) Pass a `path = <path to folder>` parameter and a `scripts(<filename_1>, <filename_2>, ...)` parameter that are
192
+
relative to the provided path (resolved as `{path}/{filename_x}.sql`, `.sql` added only if extension is missing).
194
193
195
194
In any case they will be applied in the given order<sup>3</sup>:
0 commit comments