debian-mirror-gitlab/db/migrate/20201008125643_create_csv_issue_imports.rb
2021-01-29 00:20:46 +05:30

18 lines
369 B
Ruby

# 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