This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20200513200458_create_import_csv_headers.rb
2021-08-23 10:26:02 +02:00

13 lines
294 B
Ruby

class CreateImportCsvHeaders < ActiveRecord::Migration[6.0]
def change
create_table :import_csv_headers do |t|
t.references :import_csv, foreign_key: true
t.string :name
t.string :champ
t.boolean :custom, :default => :boolean
t.timestamps
end
end
end