add bag table to database

Signed-off-by: themuntdregger <themuntdregger@gmail.com>