We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b7401 commit 2d69ca1Copy full SHA for 2d69ca1
asn1rs-model/src/model/sql/mod.rs
@@ -106,7 +106,7 @@ impl ToString for SqlType {
106
| SqlType::BitsReprByByteArrayAndBitsLen => "BYTEA".into(),
107
SqlType::References(table, column, on_delete, on_update) => format!(
108
"INTEGER REFERENCES {}({}){}{}",
109
- table,
+ Model::<Sql>::sql_definition_name(table),
110
column,
111
if let Some(cascade) = on_delete {
112
format!(" ON DELETE {}", cascade.to_string())
0 commit comments