fiedl/your_platform

View on GitHub
demo_app/my_platform/db/migrate/20170119131524_create_term_report_member_entries.your_platform.rb

Summary

Maintainability
A
1 hr
Test Coverage
# This migration comes from your_platform (originally 20170119131314)
class CreateTermReportMemberEntries < ActiveRecord::Migration[4.2]
  def change
    create_table :term_report_member_entries do |t|
      t.integer :user_id
      t.integer :term_report_id

      t.string :last_name
      t.string :first_name
      t.string :name_affix
      t.string :date_of_birth
      t.string :primary_address
      t.string :secondary_address
      t.string :phone
      t.string :email
      t.string :profession

      t.string :category

      t.timestamps null: false
    end
  end
end