diff options
Diffstat (limited to 'schema/pgsql-migrations/upgrade_83.sql')
-rw-r--r-- | schema/pgsql-migrations/upgrade_83.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/schema/pgsql-migrations/upgrade_83.sql b/schema/pgsql-migrations/upgrade_83.sql new file mode 100644 index 0000000..2a2fecf --- /dev/null +++ b/schema/pgsql-migrations/upgrade_83.sql @@ -0,0 +1,7 @@ +ALTER TABLE icinga_command ALTER COLUMN command TYPE text; +ALTER TABLE icinga_command ALTER COLUMN command DROP DEFAULT; +ALTER TABLE icinga_command ALTER COLUMN command SET DEFAULT NULL; + +INSERT INTO director_schema_migration + (schema_version, migration_time) + VALUES (83, NOW()); |