Initial commit
This commit is contained in:
22
db/migrate/20181101184834_create_material_releases.rb
Normal file
22
db/migrate/20181101184834_create_material_releases.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
class CreateMaterialReleases < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :material_releases do |t|
|
||||
t.belongs_to :project, foreign_key: true
|
||||
t.string :name
|
||||
t.string :person_name
|
||||
t.string :person_address_street1
|
||||
t.string :person_address_street2
|
||||
t.string :person_address_city
|
||||
t.string :person_address_state
|
||||
t.string :person_address_zip
|
||||
t.string :person_address_country
|
||||
t.string :person_phone
|
||||
t.string :person_email
|
||||
t.string :person_title
|
||||
t.string :person_company
|
||||
t.text :notes
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user