mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-11-03 17:15:34 -05:00 
			
		
		
		
	Edit migration to allow a user to own a bike
This commit is contained in:
		
							parent
							
								
									70b7b33909
								
							
						
					
					
						commit
						56da361bca
					
				@ -2,6 +2,7 @@ class CreateUserProfile < ActiveRecord::Migration
 | 
				
			|||||||
  def change
 | 
					  def change
 | 
				
			||||||
    create_table :user_profiles do |t|
 | 
					    create_table :user_profiles do |t|
 | 
				
			||||||
      t.integer "user_id", :null => false
 | 
					      t.integer "user_id", :null => false
 | 
				
			||||||
 | 
					      t.integer "bike_id"
 | 
				
			||||||
      t.string "first_name"
 | 
					      t.string "first_name"
 | 
				
			||||||
      t.string "last_name"
 | 
					      t.string "last_name"
 | 
				
			||||||
      t.string "addrStreet1"
 | 
					      t.string "addrStreet1"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user