demarches-normaliennes/db/migrate/20190616141702_create_bill_signature.rb

11 lines
250 B
Ruby
Raw Normal View History

2019-06-17 11:01:41 +02:00
class CreateBillSignature < ActiveRecord::Migration[5.2]
def change
create_table :bill_signatures do |t|
t.string :digest
t.timestamps
end
add_reference :dossier_operation_logs, :bill_signature, foreign_key: true
end
end