11 lines
		
	
	
		
			265 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			265 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| class CreateOfflines < ActiveRecord::Migration[8.0]
 | |
|   def change
 | |
|     create_table :offlines do |t|
 | |
|       t.timestamps
 | |
|       t.belongs_to :contest, null: false, foreign_key: true
 | |
|       t.datetime :start_time, null: false
 | |
|       t.datetime :end_time
 | |
|     end
 | |
|   end
 | |
| end
 |