Add parts of speech model and database ingest rake task
This commit is contained in:
		
							
								
								
									
										10
									
								
								db/migrate/20231012235050_create_part_of_speeches.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								db/migrate/20231012235050_create_part_of_speeches.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
class CreatePartOfSpeeches < ActiveRecord::Migration[7.1]
 | 
			
		||||
  def change
 | 
			
		||||
    create_table :part_of_speeches do |t|
 | 
			
		||||
      t.string :pos
 | 
			
		||||
      t.string :definition
 | 
			
		||||
 | 
			
		||||
      t.timestamps
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user