text: """Create country_code table
  
  Revision ID: 322a73dd080d
  Revises: 101a8199cc94
  Create Date: 2017-02-28 13:31:52.259678
  
  """
  
  # revision identifiers, used by Alembic.
  revision = '322a73dd080d'
  down_revision = '101a8199cc94'
  branch_labels = None
  depends_on = None
  
  from alembic import op
  import sqlalchemy as sa
  
  
  def upgrade(engine_name):
      globals()["upgrade_%s" % engine_name]()
  
  
  def downgrade(engine_name):
      globals()["downgrade_%s" % engine_name]()
  
  
  
  
  
  def upgrade_data_broker():
      ### commands auto generated by Alembic - please adjust! ###
      op.create_table('country_code',
          sa.Column('created_at', sa.DateTime(), nullable=True),
          sa.Column('updated_at', sa.DateTime(), nullable=True),
          sa.Column('country_code_id', sa.Integer(), nullable=False),
          sa.Column('country_code', sa.Text(), nullable=False),
          sa.Column('country_name', sa.Text(), nullable=False),
          sa.PrimaryKeyConstraint('country_code_id')
      )
      op.create_index(op.f('ix_country_code_country_code'), 'country_code', ['country_code'], unique=True)
      ### end Alembic commands ###
  
  
  def downgrade_data_broker():
      ### commands auto generated by Alembic - please adjust! ###
      op.drop_index(op.f('ix_country_code_country_code'), table_name='country_code')
      op.drop_table('country_code')
      ### end Alembic commands ###
  