diff options
Diffstat (limited to 'schema/pgsql-migrations/upgrade_169.sql')
-rw-r--r-- | schema/pgsql-migrations/upgrade_169.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/schema/pgsql-migrations/upgrade_169.sql b/schema/pgsql-migrations/upgrade_169.sql new file mode 100644 index 0000000..28b68bc --- /dev/null +++ b/schema/pgsql-migrations/upgrade_169.sql @@ -0,0 +1,8 @@ +CREATE DOMAIN d_smallint AS integer CHECK (VALUE >= 0) CHECK (VALUE < 65536); + +ALTER TABLE icinga_endpoint ALTER COLUMN port TYPE d_smallint; + + +INSERT INTO director_schema_migration + (schema_version, migration_time) + VALUES (169, NOW()); |