Columns in vouchers table: id | bigint | NO | nextval('vouchers_id_seq'::regclass) merchant_id | bigint | NO | category_id | bigint | NO | voucher_template_id | bigint | YES | voucher_count | integer | NO | expiry_date | date | NO | redeem_type | character varying | NO | 'both'::character varying voucher_type | character varying | NO | flat_discount_amount | numeric | YES | minimum_purchase_amount | numeric | YES | percent_value | numeric | YES | minimum_redeemable_amount | numeric | YES | maximum_discount_amount | numeric | YES | buy_quantity | integer | YES | get_quantity | integer | YES | status | character varying | NO | 'draft'::character varying current_step | integer | NO | 1 created_at | timestamp without time zone | YES | updated_at | timestamp without time zone | YES | voucher_title | text | YES | image_url | text | YES | short_description | text | YES | redeemed_count | integer | YES | 0 claimed_count | integer | YES | 0 bux_value | numeric | NO | 0 clicks | integer | NO | 0 buy_count | integer | NO | 0 rating | numeric | NO | 0 number_of_reviews | integer | NO | 0 bux_required | integer | YES | 0 bux_required_max | integer | YES | 0 terms | text | YES | how_to_use | text | YES | share_count | integer | YES | 0 is_trending | boolean | YES | false start_date | date | YES |