summaryrefslogtreecommitdiff
path: root/db/migrate/20201008125643_create_csv_issue_imports.rb
blob: be3206af6d8ec952198295722c9d2d616bbd4f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

class CreateCsvIssueImports < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    create_table :csv_issue_imports do |t|
      t.bigint :project_id, null: false, index: true
      t.bigint :user_id, null: false, index: true

      t.timestamps_with_timezone
    end
  end

  def down
    drop_table :csv_issue_imports
  end
end