Fix :: Sql problem for fresh install on resource table