HUE-8371 [core] Shrink char field max length for Oracle DB support

Review Request #13089 — Created June 18, 2018 and submitted

ranade
hue
master
hue
enricoberti, jgauthier, johan, ranade, romain, roohi, subrata, weixia, yingc
commit 37a6b617f65871d3a50b59b222dae91cedbefdad
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Mon Jun 18 13:03:30 2018 -0700

    HUE-8371 [core] Shrink char field max length for Oracle DB support
    
    While running hue migrate command, Oracle DB fails with
    django.db.utils.DatabaseError: ORA-00910: specified length too long for its datatype
    
    This fix will truncate charfield size from 2047 chars to 2000 chars.

:100644 100644 30224e2fb8... 6063e8d9d8... M	desktop/core/ext-py/django-openid-auth-0.14/django_openid_auth/models.py

Earlier I forgot to checkin "models.py". Tested on ORACLE instance.

romain
  1. Does doing

    ./build/env/bin/hue makemigrations django_openid_auth

    create a migration file too?

    1. /opt/cloudera/parcels/CDH/lib/hue# ./build/env/bin/hue makemigrations django_openid_auth
      No changes detected in app 'django_openid_auth'

    2. this is after having same migration file.

  2. 
      
romain
  1. Ship It!
  2. 
      
ranade
Review request changed

Status: Closed (submitted)

Loading...