blob: 55fc1cbe7af3465f3619a9dbdfb5f5e45ce2d8a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
class CreateMlCandidateParams < Gitlab::Database::Migration[2.0]
def change
create_table :ml_candidate_params do |t|
t.timestamps_with_timezone null: false
t.references :candidate,
foreign_key: { to_table: :ml_candidates },
index: true
t.text :name, limit: 250, null: false
t.text :value, limit: 250, null: false
end
end
end
|