diff options
Diffstat (limited to 'db/migrate/20181101191341_create_clusters_applications_cert_manager.rb')
-rw-r--r-- | db/migrate/20181101191341_create_clusters_applications_cert_manager.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20181101191341_create_clusters_applications_cert_manager.rb b/db/migrate/20181101191341_create_clusters_applications_cert_manager.rb index 3bc20046311..95996531669 100644 --- a/db/migrate/20181101191341_create_clusters_applications_cert_manager.rb +++ b/db/migrate/20181101191341_create_clusters_applications_cert_manager.rb @@ -5,17 +5,17 @@ class CreateClustersApplicationsCertManager < ActiveRecord::Migration[4.2] DOWNTIME = false + # rubocop:disable Migration/PreventStrings def change - # rubocop:disable Migration/AddLimitToStringColumns create_table :clusters_applications_cert_managers do |t| t.references :cluster, null: false, index: false, foreign_key: { on_delete: :cascade } t.integer :status, null: false t.string :version, null: false t.string :email, null: false t.timestamps_with_timezone null: false - t.text :status_reason + t.text :status_reason # rubocop:disable Migration/AddLimitToTextColumns t.index :cluster_id, unique: true end - # rubocop:enable Migration/AddLimitToStringColumns end + # rubocop:enable Migration/PreventStrings end |