on main help sign in
Fix failing outdated tests
55998bafabianlindfors
tests/add_column.rs+2−2
@@ -308,8 +308,8 @@ fn add_column_with_complex_up() {
308
308
309 [actions.up]
309 [actions.up]
310 table = "users"
310 table = "users"
311− value = "email"
311+ value = "users.email"
312− where = "user_id = id"
312+ where = "profiles.user_id = users.id"
313 "#,
313 "#,
314 );
314 );
315
315
tests/remove_column.rs+2−2
@@ -179,8 +179,8 @@ fn remove_column_with_complex_down() {
179
179
180 [actions.down]
180 [actions.down]
181 table = "profiles"
181 table = "profiles"
182− value = "email"
182+ value = "profiles.email"
183− where = "id = user_id"
183+ where = "users.id = profiles.user_id"
184 "#,
184 "#,
185 );
185 );
186
186