debian-mirror-gitlab/db/migrate/20201008125643_create_csv_issue_imports.rb

19 lines
369 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# 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