add discounts tables
remove internals in ORM API
add discount id sequence
add order_column to discount_conditions
develop discount ORM API
make discount name column unique
add setName method to discount entity
develop discount implementation