unepwcmc/SAPI — pull request #208 by simaob (2014-02-12 08:47:02+00:00)
Title: Permit search function

This Pull Request:

- Fixes import trade_permits script to add unique permit numbers;
- Removes unnecessary columns from trade_permits table;
- Adds unique index to trade_permits table, on the number column;
- Updates import_trade_permits script to be aware of the above changes;

Requires: rake db:migrate