
# revision identifiers, used by Alembic.
revision = '2c48009040da'
down_revision = '4cacd567770f'

from alembic import op
from socorro.lib import citexttype, jsontype, buildtype
from socorro.lib.migrations import fix_permissions, load_stored_proc

import sqlalchemy as sa
from sqlalchemy import types
from sqlalchemy.dialects import postgresql
from sqlalchemy.sql import table, column


def upgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql'])


def downgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql'])


# revision identifiers, used by Alembic.
revision = '2c48009040da'
down_revision = '4cacd567770f'

from alembic import op
from socorro.lib import citexttype, jsontype, buildtype
from socorro.lib.migrations import fix_permissions, load_stored_proc

import sqlalchemy as sa
from sqlalchemy import types
from sqlalchemy.dialects import postgresql
from sqlalchemy.sql import table, column


def upgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql',
                          'update_tcbs.sql'
                          ])


def downgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql',
                          'update_tcbs.sql'
                          ])

Add update_tcbs.sql to the mix
Add update_tcbs.sql to the mix

  
  # revision identifiers, used by Alembic.
  revision = '2c48009040da'
  down_revision = '4cacd567770f'
  
  from alembic import op
  from socorro.lib import citexttype, jsontype, buildtype
  from socorro.lib.migrations import fix_permissions, load_stored_proc
  
  import sqlalchemy as sa
  from sqlalchemy import types
  from sqlalchemy.dialects import postgresql
  from sqlalchemy.sql import table, column
  
  
  def upgrade():
      load_stored_proc(op, ['update_product_versions.sql',
                            'is_rapid_beta.sql',
-                           'sunset_date.sql'])
+                           'sunset_date.sql',
+                           'update_tcbs.sql'
+                           ])
  
  
  def downgrade():
      load_stored_proc(op, ['update_product_versions.sql',
                            'is_rapid_beta.sql',
-                           'sunset_date.sql'])
+                           'sunset_date.sql',
+                           'update_tcbs.sql'
+                           ])
  
Add update_tcbs.sql to the mix
## Code Before:

# revision identifiers, used by Alembic.
revision = '2c48009040da'
down_revision = '4cacd567770f'

from alembic import op
from socorro.lib import citexttype, jsontype, buildtype
from socorro.lib.migrations import fix_permissions, load_stored_proc

import sqlalchemy as sa
from sqlalchemy import types
from sqlalchemy.dialects import postgresql
from sqlalchemy.sql import table, column


def upgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql'])


def downgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql'])

## Instruction:
Add update_tcbs.sql to the mix
## Code After:

# revision identifiers, used by Alembic.
revision = '2c48009040da'
down_revision = '4cacd567770f'

from alembic import op
from socorro.lib import citexttype, jsontype, buildtype
from socorro.lib.migrations import fix_permissions, load_stored_proc

import sqlalchemy as sa
from sqlalchemy import types
from sqlalchemy.dialects import postgresql
from sqlalchemy.sql import table, column


def upgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql',
                          'update_tcbs.sql'
                          ])


def downgrade():
    load_stored_proc(op, ['update_product_versions.sql',
                          'is_rapid_beta.sql',
                          'sunset_date.sql',
                          'update_tcbs.sql'
                          ])
