add oban
This commit is contained in:
		
							
								
								
									
										13
									
								
								priv/repo/migrations/20220213042345_add_oban.exs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								priv/repo/migrations/20220213042345_add_oban.exs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| defmodule Lokal.Repo.Migrations.AddOban do | ||||
|   use Ecto.Migration | ||||
|  | ||||
|   def up do | ||||
|     Oban.Migrations.up() | ||||
|   end | ||||
|  | ||||
|   # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if | ||||
|   # necessary, regardless of which version we've migrated `up` to. | ||||
|   def down do | ||||
|     Oban.Migrations.down(version: 1) | ||||
|   end | ||||
| end | ||||
		Reference in New Issue
	
	Block a user