src-d / ghsync

GitHub API v3 > PostgreSQL
https://sourced.tech
GNU General Public License v3.0
9 stars 8 forks source link

Test if an organization name can be longer than the column for it. #50

Closed carlosms closed 5 years ago

carlosms commented 5 years ago

In #48 the status table contains a column org VARCHAR (50). Is it possible that we'll have org names longer than 50?

se7entyse7en commented 5 years ago

I tried to create an org and rename it until reaching the limit:

Screenshot 2019-06-28 at 16 51 08

So, in theory, we could use the same value, but I don't think it's a big deal.

carlosms commented 5 years ago

If the max org name is lower than our column length, it's ok. Thanks for checking.