donut-party / dbxray

view your database's metadata skeleton and generate schemas from it 🩻
MIT License
122 stars 11 forks source link

feature: default values in xray map, full :include-raw? column data #15

Open nikolap opened 1 year ago

nikolap commented 1 year ago

This PR does two things, so let me know if you'd like to break it up:

  1. Adds :default key from COLUMN_DEF when present. Addresses https://github.com/donut-party/dbxray/issues/10 partially, I think
  2. When include-raw? is true, returns the full column data. This is useful for people wishing to use any keys unsupported by xray
flyingmachine commented 1 year ago

sorry just saw this! will give it a look soon