added basic activate check on sql table creations

Basic check up for the tables creation in the activate method