Added sql model