mmsc_app/db/migrate/20200513202721_create_import_csv_champs.rb
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

13 lines
270 B
Ruby

class CreateImportCsvChamps < ActiveRecord::Migration[6.0]
def change
create_table :import_csv_champs do |t|
t.string :champ
t.string :header
t.string :value
t.references :import_csv, foreign_key: true
t.timestamps
end
end
end