summaryrefslogtreecommitdiff
path: root/db/migrate/20190918102042_create_grafana_integrations.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190918102042_create_grafana_integrations.rb')
-rw-r--r--db/migrate/20190918102042_create_grafana_integrations.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20190918102042_create_grafana_integrations.rb b/db/migrate/20190918102042_create_grafana_integrations.rb
deleted file mode 100644
index d48aaaf45bc..00000000000
--- a/db/migrate/20190918102042_create_grafana_integrations.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateGrafanaIntegrations < ActiveRecord::Migration[5.2]
- DOWNTIME = false
-
- # rubocop:disable Migration/PreventStrings
- def change
- create_table :grafana_integrations do |t|
- t.references :project, index: true, foreign_key: { on_delete: :cascade }, unique: true, null: false
- t.timestamps_with_timezone null: false
- t.string :encrypted_token, limit: 255, null: false
- t.string :encrypted_token_iv, limit: 255, null: false
- t.string :grafana_url, null: false, limit: 1024
- end
- end
- # rubocop:enable Migration/PreventStrings
-end