Ti.Database module is not available for Mobile Web projects.
For simple client-side storage, you can use Ti.App.Properties. If you really need relational database, you'll have to implement a separate backend-service and access it using Ti.Network.HTTPClient.