Skip to content

Commit 8a9a92b

Browse files
authored
alter type instead of dropping
1 parent e28486d commit 8a9a92b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

pgml-extension/sql/pgml--2.8.1--2.8.2.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ AS 'MODULE_PATHNAME', 'deploy_strategy_wrapper';
2626

2727
ALTER TYPE pgml.strategy ADD VALUE 'specific';
2828

29-
-- src/orm/sampling.rs:6
30-
-- pgml::orm::sampling::Sampling
31-
DROP TYPE IF EXISTS pgml.Sampling;
32-
CREATE TYPE pgml.Sampling AS ENUM (
33-
'random',
34-
'last',
35-
'stratified'
36-
);
29+
ALTER TYPE pgml.Sampling ADD VALUE 'stratified';
3730

3831
-- src/api.rs:534
3932
-- pgml::api::snapshot

0 commit comments

Comments
 (0)