fixed db creation script

removed set null on delete for user