EFForg / crocodilehunter

Taking one back for Steve Irwin     (๑•̀ㅂ•́)و
GNU General Public License v3.0
971 stars 136 forks source link

Unknown column 'tower_data.api_key' in 'field list' #122

Closed cooperq closed 2 years ago

cooperq commented 3 years ago

Problem Crocodile hunter is giving the following error: "Unknown column 'tower_data.api_key' in 'field list'" Solution Run the following SQL on each of your projects. ALTER TABLE tower_data ADD COLUMN api_key VARCHAR(32), ADD COLUMN ext_id INT, ADD COLUMN uploaded DATETIME;

alphafox02 commented 3 years ago

Thank you for sharing. I was just getting this today.

alphafox02 commented 3 years ago

So for each new project this needs to be done? If you do a fresh crocodile hunter pull is this resolved?

cooperq commented 3 years ago

yea you should only need to do this for projects that already exist. New projects should automatically have the correct database schema.