Rails 5
Postgresql 9.4.10
Postgis 2.1.8
when I try rake db:reset, console show an error
rake aborted! ActiveRecord::StatementInvalid: PG::DependentObjectsStillExist: ERROR: cannot drop table spatial_ref_sys because extension postgis requires it HINT: You can drop extension postgis instead. : DROP TABLE "spatial_ref_sys" CASCADE
I am new to psql and postgis, any help will be appreciated.