Skip to content

Commit

Permalink
Tweaks: let it be
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Mar 24, 2022
1 parent ed0fafe commit 9d59487
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/backend/sqlite/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ impl TableBuilder for SqliteQueryBuilder {
if alter.options.is_empty() {
panic!("No alter option found")
};
if alter.options.len() > 1 {
panic!("Does not support multiple ALTER")
}
write!(sql, "ALTER TABLE ").unwrap();
if let Some(table) = &alter.table {
table.prepare(sql, self.quote());
Expand Down
1 change: 0 additions & 1 deletion tests/sqlite/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ fn alter_6() {
}

#[test]
#[should_panic(expected = "Does not support multiple ALTER")]
fn alter_7() {
let _ = Table::alter()
.table(Font::Table)
Expand Down

0 comments on commit 9d59487

Please sign in to comment.