19 lines
517 B
Ruby
19 lines
517 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateMembershipApplications < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :membership_applications do |t|
|
|
t.timestamps null: false
|
|
|
|
t.string :first_name, null: false
|
|
t.string :last_name, null: false
|
|
t.string :middle_name
|
|
t.date :date_of_birth, null: false
|
|
t.string :occupation
|
|
t.string :email, null: false
|
|
t.string :phone_number, null: false
|
|
t.string :telegram_username
|
|
t.text :comment
|
|
end
|
|
end
|
|
end
|