diff --git a/migrations/probe_states.down.sql b/migrations/probe_states.down.sql deleted file mode 100644 index 84ef1e5..0000000 --- a/migrations/probe_states.down.sql +++ /dev/null @@ -1,3 +0,0 @@ -DROP TABLE IF EXISTS magellan_probe_states; -DROP INDEX IF EXISTS magellan_probe_states_index_host; -DROP INDEX IF EXISTS magellan_probe_states_index_state; \ No newline at end of file diff --git a/migrations/probe_states.up.sql b/migrations/probe_states.up.sql deleted file mode 100644 index 703771e..0000000 --- a/migrations/probe_states.up.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE IF NOT EXISTS magellan_probe_states ( - host TEXT PRIMARY KEY NOT NULL, - port INTEGER, - protocol TEXT, - state INTEGER, - updated TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() -); - -CREATE INDEX IF NOT EXISTS magellan_probe_states_index_host ON magellan_probe_states (host); -CREATE INDEX IF NOT EXISTS magellan_probe_states_index_state ON magellan_proble_states (state); \ No newline at end of file