Make a PostgreSQLDialect

Add is_primary and is_unique in the column definition

Initial code for testing alter table
This commit is contained in:
Jovansonlee Cesar 2018-09-28 03:32:10 +08:00
parent 74b34faaf1
commit da153bf848
4 changed files with 135 additions and 23 deletions

View file

@ -203,14 +203,6 @@ impl<'a> Tokenizer<'a> {
tokens.push(token);
}
Ok(tokens)
/*
Ok(tokens
.into_iter()
.filter(|t| match t {
Token::Whitespace(..) => false,
_ => true,
}).collect())
*/
}
/// Get the next token or return None