1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/db/migrate/20181126132402_create_membership_applications.rb
2018-11-29 18:25:12 +05:00

19 lines
554 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 :organization_membership
t.text :comment
end
end
end