6 let mut test = Test::new("Remove table");
10 name = "create_users_table"
23 test.second_migration(
25 name = "remove_users_table"
33 test.intermediate(|old_db, new_db| {
34 // Make sure inserts work against the old schema
36 .simple_query("INSERT INTO users(id) VALUES (1)")
39 // Ensure the table is not accessible through the new schema
40 assert!(new_db.query("SELECT id FROM users", &[]).is_err());
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list