update
This commit is contained in:
		
							parent
							
								
									a27c99cf15
								
							
						
					
					
						commit
						25bf52e4c0
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							| 
						 | 
					@ -6,5 +6,5 @@ push:
 | 
				
			||||||
run:
 | 
					run:
 | 
				
			||||||
	dbt deps --profiles-dir=. --project-dir=.
 | 
						dbt deps --profiles-dir=. --project-dir=.
 | 
				
			||||||
    #dbt run --profiles-dir=. --project-dir=. --full-refresh
 | 
					    #dbt run --profiles-dir=. --project-dir=. --full-refresh
 | 
				
			||||||
	dbt run --profiles-dir=. --project-dir=. --full-refresh --select admin_tags
 | 
						dbt run --profiles-dir=. --project-dir=. --full-refresh --select product_sku
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,6 +11,7 @@ select
 | 
				
			||||||
    sku,
 | 
					    sku,
 | 
				
			||||||
    {{ adapter.quote('name') }},
 | 
					    {{ adapter.quote('name') }},
 | 
				
			||||||
    active,
 | 
					    active,
 | 
				
			||||||
 | 
					    brand AS brand_id,
 | 
				
			||||||
    -- quantity,
 | 
					    -- quantity,
 | 
				
			||||||
    picture AS photo,
 | 
					    picture AS photo,
 | 
				
			||||||
    cast({{ adapter.quote('price') }}::json->>'base' AS numeric) AS price_base,
 | 
					    cast({{ adapter.quote('price') }}::json->>'base' AS numeric) AS price_base,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue