We thought this might happen at some point, I'm not sure that it will.


On 23 January 2014 15:20, Miguel Torres <notifications@github.com> wrote:

> In lib/tasks/import_trade_shipments.rake:
>
> > +    WHERE import_country_code = 'KX';
> > +    UPDATE shipments_import
> > +    SET origin_country_code = 'XK'
> > +    WHERE origin_country_code = 'KX';
> > +    DELETE FROM shipments_import
> > +    WHERE quantity_1 IS NULL;
> > +  SQL
> > +  ActiveRecord::Base.connection.execute(sql)
> > +  puts "Cleaning Up Import Table"
> > +end
> > +
> > +def populate_shipments
> > +  puts "Inserting into trade_shipments table"
> > +  xx_id = GeoEntity.find_by_iso_code2('XX').id
> > +  sql = <<-SQL
> > +            DELETE FROM trade_shipments;
>
> I was using that to make things faster while implementing. Sure, you can
> delete it. BTW, are we planning to import other files through this rake
> task?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/unepwcmc/SAPI/pull/157/files#r9115641>
> .
>



-- 
Agnieszka Figiel