ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 626 forks source link

Username, first_name and last_name column sizes #786

Open brunobastosg opened 5 years ago

brunobastosg commented 5 years ago

Some years ago I installed ASKBOT using pip install askbot. In the auth_user table, columns username, first_name and last_name had, respectively, sizes 255, 200 and 200.

Last week I installed it by cloning the git repo to have the latest changes. I ran all the migrations, but the same columns above have sizes 30, 30 and 30.

Here are the migrations that ran:

id app name applied
1 contenttypes 0001_initial 2019-03-08 16:57:39
2 auth 0001_initial 2019-03-08 16:57:40
3 admin 0001_initial 2019-03-08 16:57:40
4 askbot 0001_initial 2019-03-08 16:57:54
5 askbot 0002_auto_20151026_0715 2019-03-08 16:57:54
6 askbot 0002_auto_20151218_0908 2019-03-08 16:57:54
7 askbot 0003_auto_20151218_0909 2019-03-08 16:57:55
8 askbot 0004_auto_20151219_0751 2019-03-08 16:57:55
9 askbot 0005_auto_20151220_0450 2019-03-08 16:57:56
10 askbot 0006_auto_20151220_0459 2019-03-08 16:57:56
11 askbot 0007_auto_20151220_0653 2019-03-08 16:57:57
12 askbot 0008_auto_20160101_0951 2019-03-08 16:57:58
13 askbot 0009_auto_20160103_1150 2019-03-08 16:57:59
14 askbot 0010_populate_language_code_for_reps_20160108_1052 2019-03-08 16:57:59
15 askbot 0011_auto_20160110_1343 2019-03-08 16:58:00
16 askbot 0012_rename_related_name_to_auth_user_from_Vote 2019-03-08 16:58:00
17 askbot 0013_auto_20181013_1857 2019-03-08 16:58:01
18 askbot 0014_populate_askbot_roles 2019-03-08 16:58:02
19 contenttypes 0002_remove_content_type_name 2019-03-08 16:58:02
20 auth 0002_alter_permission_name_max_length 2019-03-08 16:58:02
21 auth 0003_alter_user_email_max_length 2019-03-08 16:58:03
22 auth 0004_alter_user_username_opts 2019-03-08 16:58:03
23 auth 0005_alter_user_last_login_null 2019-03-08 16:58:03
24 auth 0006_require_contenttypes_0002 2019-03-08 16:58:03
25 avatar 0001_initial 2019-03-08 16:58:04
26 django_authopenid 0001_initial 2019-03-08 16:58:04
27 djcelery 0001_initial 2019-03-08 16:58:06
28 followit 0001_initial 2019-03-08 16:58:06
29 group_messaging 0001_initial 2019-03-08 16:58:08
30 sites 0001_initial 2019-03-08 16:58:09
31 livesettings 0001_initial 2019-03-08 16:58:09
32 robots 0001_initial 2019-03-08 16:58:10
33 sessions 0001_initial 2019-03-08 16:58:10
34 askbot 0015_auto_20190308_1713 2019-03-08 17:14:03

Is there something I'm doing wrong?