gitlab-org--gitlab-foss/db/migrate/20170222111732_create_gpg_keys.rb

14 lines
280 B
Ruby
Raw Normal View History

2017-02-22 06:49:17 -05:00
class CreateGpgKeys < ActiveRecord::Migration
DOWNTIME = false
def change
create_table :gpg_keys do |t|
t.string :fingerprint
t.text :key
t.references :user, index: true, foreign_key: true
t.timestamps_with_timezone null: false
end
end
end