Implementing Alcohol interface by database model