o
    li	                     @   s.   d dl mZmZ d dlZG dd dejZdS )    )
migrationsmodelsNc                   @   sX  e Zd ZdZg Zejddejdddddfdej	dd	d
fdej
dd	ddfdejdddfdejddfdejddfdejdddfdejddfdejddfg	dddgddejddejdddddfdej	d d!fd"ej	dd	d#fd$ej	d%d&gd'd(fd)ejddfd*ejdddfd+ejejjjjd,d-d.fgd/d0d1gd2hd3dgZd4S )5	MigrationTMotionEventidFID)auto_createdprimary_key	serializeverbose_namenamezShort title for the motion   )	help_text
max_lengthslug)blankr   uniquedescriptionz&Full text of the motion being seconded)r   r   	is_active)defaultis_archivedarchived_at)r   null
created_at)auto_now_add
updated_at)auto_nowzMotion EventzMotion Eventsz-created_at)r   verbose_name_pluralordering)r   fieldsoptions
MotionVoteregistration_coded   )r   	full_name)r   r   vote)YESu   Yes — I second the motion)NOu   No — I oppose the motion   )choicesr   voted_at
ip_addresseventvoteszmotion_secondment.motionevent)	on_deleterelated_nametozMotion VotezMotion Votesz	-voted_at)r,   r"   )r   r   r   unique_togetherN)__name__
__module____qualname__initialdependenciesr   CreateModelr   BigAutoField	CharField	SlugField	TextFieldBooleanFieldDateTimeFieldGenericIPAddressField
ForeignKeydjangodbdeletionCASCADE
operations rE   rE   U/var/www/html/smartRegister/backend/apps/motion_secondment/migrations/0001_initial.pyr      sJ    
r   )	django.dbr   r   django.db.models.deletionr@   r   rE   rE   rE   rF   <module>   s    