We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdefa3f commit 1778c85Copy full SHA for 1778c85
1 file changed
pgdog/src/backend/schema/mod.rs
@@ -133,18 +133,11 @@ impl Schema {
133
server.addr(),
134
);
135
136
- let supported_defaults = [
137
- "nextval",
138
- "generated always as identity",
139
- "generated by default as identity",
140
- ];
141
-
142
for table in tables {
143
for column in table.columns().iter().filter(|column| {
144
column.1.is_primary_key // Only primary keys.
145
&& matches!(column.1.data_type.as_str(), "bigint" | "int8") // Only BIGINT.
146
- && supported_defaults.iter().any(|p| column.1.column_default.contains(p))
147
- // Only the ones that rely on a sequence.
+ // Only the ones that rely on a sequence.
148
}) {
149
info!(
150
"[schema] creating sharded sequence for \"{}\".\"{}\".\"{}\"",
0 commit comments