Rename RemoteProject -> DevServerProject (#11301)
Co-Authored-By: Mikayla <mikayla@zed.dev> In a fit of ill-advisedness I called these things remote projects; forgetting that remote project is also what we call collaboratively shared projects. Release Notes: - N/A --------- Co-authored-by: Mikayla <mikayla@zed.dev> Co-authored-by: Bennet <bennetbo@gmx.de>
This commit is contained in:
parent
d61c47d2a9
commit
9bac64a9c1
46 changed files with 834 additions and 771 deletions
|
@ -223,6 +223,14 @@ fn parse_alter_table(remaining_sql_str: &str) -> Option<(String, String)> {
|
|||
.skip_while(|c| c.is_whitespace())
|
||||
.take_while(|c| !c.is_whitespace())
|
||||
.collect::<String>()
|
||||
} else if let Some(drop_offset) = remaining_sql_str.find("drop column") {
|
||||
let after_drop_offset = drop_offset + "drop column".len();
|
||||
remaining_sql_str
|
||||
.chars()
|
||||
.skip(after_drop_offset)
|
||||
.skip_while(|c| c.is_whitespace())
|
||||
.take_while(|c| !c.is_whitespace())
|
||||
.collect::<String>()
|
||||
} else {
|
||||
"__place_holder_column_for_syntax_checking".to_string()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue