ó
O'—^c           @   s°   d  d l  Z  d  d l m Z d  d l m Z d  d l m Z y d  d l m Z Wn! e	 k
 rs d  d l
 m Z n
 Xe ƒ  Z d  d l m Z e ƒ  Z d e f d	 „  ƒ  YZ d S(
   iÿÿÿÿN(   t   db(   t   SchemaMigration(   t   models(   t   get_user_model(   t   User(   t   get_application_modelt	   Migrationc           B   s®  e  Z d  „  Z d „  Z i i i d d 6d 6d g  i d d 6f d 6d	 g  i d d
 6d d 6f d 6d g  i d d 6d d 6d d 6f d 6d 6i i d d 6d d 6d d 6d 6d	 g  i d d 6f d 6d g  i d d 6f d 6d g  i d d 6f d 6d	 g  i d  d 6f d 6d! 6i i e j  d 6d 6d" g  i d# d$ 6f d% 6d& g  i d' d 6d d 6f d( 6d	 g  i d) d 6d d 6f d* 6d g  i d+ d 6d d 6d d 6f d, 6d g  i d d 6f d 6d- g  i d d$ 6f d. 6d- g  i d d$ 6f d/ 6d- g  i d d$ 6f d0 6d" g  i d# d$ 6f d1 6d	 g  i d) d 6d d 6f d2 6d	 g  i d3 d 6f d4 6d g  i d d 6d d 6d d 6f d5 6d	 g  i d d
 6d) d 6f d6 6d7 e j j e j j f 6i i d8 d 6d9 d 6d: d 6d; d< 6d 6d	 g  i d d 6f d= 6d g  i d d 6f d 6d	 g  i d d 6f d> 6d	 g  i d d 6f d 6d? 6i i d@ d 6d 6d g  i dA e j j e j j f d 6f dB 6d" g  i  f dC 6d g  i d d 6f d 6dD g  i d d 6f dE 6d	 g  i dF d 6f dG 6d g  i dA e j j e j j f d 6f dH 6dI 6i	 i e j  d 6d 6d	 g  i dJ d 6f dK 6d	 g  i dL d$ 6d d
 6d d 6f dM 6d	 g  i dN d$ 6dF d 6d d 6f dO 6d	 g  i dJ d 6f dP 6d g  i d d 6f d 6d	 g  i dF d 6d d 6f d 6dD g  i d d 6f dQ 6d g  i dA e j j e j j f d 6f dH 6d7 e j j e j j f 6i i dR d 6d 6d g  i dA e j j e j j f d 6f dB 6d	 g  i dF d 6f dS 6d" g  i  f dC 6d g  i d d 6f d 6d	 g  i dF d 6f dT 6dD g  i d d 6f dE 6d g  i dA e j j e j j f d 6f dH 6dU 6i i dV d 6d 6dW g  i dX dY 6d d
 6dZ d 6f d[ 6d g  i dA e j j e j j f d 6f dB 6d g  i d d 6f d 6d	 g  i dF d 6f dG 6d g  i dA e j j e j j f d 6f dH 6d\ 6Z	 d] g Z
 RS(^   c         C   s=   t  j d d g ƒ t  j d d g ƒ t  j d d g ƒ d  S(   Nu   oauth2_provider_refreshtokent   tokenu   oauth2_provider_grantt   codeu   oauth2_provider_accesstoken(   R    t   create_index(   t   selft   orm(    (    sV   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/south_migrations/0002_adding_indexes.pyt   forwards   s    c         C   s=   t  j d d g ƒ t  j d d g ƒ t  j d d g ƒ d  S(   Nu   oauth2_provider_accesstokenR   u   oauth2_provider_grantR   u   oauth2_provider_refreshtoken(   R    t   delete_index(   R
   R   (    (    sV   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/south_migrations/0002_adding_indexes.pyt	   backwards   s    t   Groupt   object_namet   Metas!   django.db.models.fields.AutoFieldt   Truet   primary_keyu   ids!   django.db.models.fields.CharFieldt   uniquet   80t
   max_lengtht   names/   django.db.models.fields.related.ManyToManyFieldu   orm['auth.Permission']t   tot   Falset   symmetricalt   blankt   permissionsu
   auth.groupsA   (u'content_type__app_label', u'content_type__model', u'codename')t   orderings!   ((u'content_type', u'codename'),)t   unique_togethert
   Permissiont   100t   codenames*   django.db.models.fields.related.ForeignKeyu   orm['contenttypes.ContentType']t   content_typet   50u   auth.permissions%   django.db.models.fields.DateTimeFields   datetime.datetime.nowt   defaultt   date_joineds"   django.db.models.fields.EmailFieldt   75t   emailt   30t
   first_nameu   orm['auth.Group']t   groupss$   django.db.models.fields.BooleanFieldt	   is_activet   is_stafft   is_superusert
   last_logint	   last_namet   128t   passwordt   user_permissionst   usernameu   %s.%ss	   ('name',)s   (('app_label', 'model'),)t   ContentTypes   'django_content_type't   db_tablet	   app_labelt   modelu   contenttypes.contenttypet   AccessTokenu   orm['%s.%s']t   applicationt   expiress!   django.db.models.fields.TextFieldt   scopet   255R   t   useru   oauth2_provider.accesstokent   32t   authorization_grant_types*   '30f17d266183cd455bc57ce8548a439db3491353't	   client_ids‚   '18e68df61ad8e1af355644ddf6a636b269b6309aafbd2a34d4f5ed6c5562e44c0792c5b2441571e85cbf8a85249dca5537dedb6fd6f60e134f4a60f3865c8395't   client_secrett   client_typet   redirect_urist   GrantR   t   redirect_uriu   oauth2_provider.grantt   RefreshTokens-   django.db.models.fields.related.OneToOneFields   'refresh_token't   related_nameu"   orm['oauth2_provider.AccessToken']t   access_tokenu   oauth2_provider.refreshtokent   oauth2_provider(   t   __name__t
   __module__R   R   R   t   _metaR6   R   t   ApplicationModelR   t   complete_apps(    (    (    sV   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/south_migrations/0002_adding_indexes.pyR      sŒ   		)%%8#-1%%G-1%-4(   t   datetimet   south.dbR    t   south.v2R   t	   django.dbR   t   django.contrib.authR   t   ImportErrort   django.contrib.auth.modelsR   t   oauth2_provider.modelsR   RM   R   (    (    (    sV   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/south_migrations/0002_adding_indexes.pyt   <module>   s   		