Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created July 25, 2014 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/5d7870da25023b04dedd to your computer and use it in GitHub Desktop.
Save peterbe/5d7870da25023b04dedd to your computer and use it in GitHub Desktop.
alembic/env.py:30: * is in the default or bixie schema,
alembic/env.py:33: return schema in (None, "bixie") and re.search(r'_\d{8}$', tablename) is None
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:60: op.execute(u'CREATE SCHEMA bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:67: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:73: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:85: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:91: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:101: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:107: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:113: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:139: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:146: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:152: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:158: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:167: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:182: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:188: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:197: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:203: [u'bixie.error_messages.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:205: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:211: sa.ForeignKeyConstraint(['product_id'], [u'bixie.products.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:212: sa.ForeignKeyConstraint(['user_id'], [u'bixie.users.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:214: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:220: sa.ForeignKeyConstraint(['product_id'], [u'bixie.products.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:222: [u'bixie.release_channels.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:224: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:231: [u'bixie.error_messages.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:232: sa.ForeignKeyConstraint(['product_id'], [u'bixie.products.id'], ),
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:234: schema=u'bixie'
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:241: op.drop_table(u'error_message_products', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:242: op.drop_table(u'product_release_channels', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:243: op.drop_table(u'product_users', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:244: op.drop_table(u'user_agents', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:245: op.drop_table(u'product_adi', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:246: op.drop_table(u'users', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:247: op.drop_table(u'raw_adi', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:248: op.drop_table(u'product_version_adi', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:249: op.drop_table(u'error_messages', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:250: op.drop_table(u'os_names', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:251: op.drop_table(u'release_channels', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:252: op.drop_table(u'crashes', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:253: op.drop_table(u'signatures', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:254: op.drop_table(u'hosts', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:255: op.drop_table(u'crashes_normalized', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:256: op.drop_table(u'products', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:257: op.drop_table(u'raw_product_releases', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:258: op.drop_table(u'full_urls', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:259: op.drop_table(u'product_versions', schema=u'bixie')
alembic/versions/22e4e60e03f_bug_867387_bixie_dra.py:260: op.execute(u'DROP SCHEMA bixie')
socorro/external/postgresql/error.py:27: bixie.crashes.signature,
socorro/external/postgresql/error.py:28: bixie.crashes.product,
socorro/external/postgresql/error.py:29: bixie.crashes.error
socorro/external/postgresql/error.py:30: FROM bixie.crashes
socorro/external/postgresql/error.py:31: WHERE bixie.crashes.crash_id=%(uuid)s
socorro/external/postgresql/error.py:32: AND bixie.crashes.success IS NOT NULL
socorro/external/postgresql/error.py:34: bixie.crashes.processor_completed_datetime,
socorro/external/postgresql/errors.py:45: FROM bixie.crashes
socorro/external/postgresql/models.py:1548: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1578: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1592: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1612: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1625: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1647: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1657: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1667: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1677: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1684: ForeignKey('bixie.error_messages.id'))
socorro/external/postgresql/models.py:1688: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1698: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1708: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1718: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1738: Unsure that these are appropriate to bixie
socorro/external/postgresql/models.py:1740: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1751: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1764: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1776: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1782: ForeignKey('bixie.release_channels.id'))
socorro/external/postgresql/models.py:1784: ForeignKey('bixie.products.id'))
socorro/external/postgresql/models.py:1788: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1795: ForeignKey('bixie.products.id'))
socorro/external/postgresql/models.py:1796: user_id = Column('user_id', INTEGER(), ForeignKey('bixie.users.id'))
socorro/external/postgresql/models.py:1800: __table_args__ = {'schema': 'bixie'}
socorro/external/postgresql/models.py:1807: ForeignKey('bixie.error_messages.id'))
socorro/external/postgresql/models.py:1809: ForeignKey('bixie.products.id'))
socorro/external/postgresql/products.py:59: FROM bixie.raw_product_releases
socorro/external/postgresql/setupdb_app.py:55: self.session.execute('CREATE SCHEMA bixie')
socorro/external/postgresql/setupdb_app.py:57: 'GRANT ALL ON SCHEMA bixie, public TO breakpad_rw')
socorro/external/postgresql/setupdb_app.py:130: AND n.nspname IN ('public', 'bixie')
socorro/external/postgresql/setupdb_app.py:151: AND n.nspname IN ('public', 'bixie')
socorro/external/postgresql/setupdb_app.py:196: REVOKE ALL ON ALL TABLES IN SCHEMA bixie, public FROM %s
socorro/external/postgresql/setupdb_app.py:202: GRANT ALL ON ALL TABLES IN SCHEMA bixie, public
socorro/external/postgresql/setupdb_app.py:206: GRANT SELECT ON ALL TABLES IN SCHEMA bixie, public
socorro/external/postgresql/setupdb_app.py:249: AND n.nspname IN ('public', 'bixie')
socorro/external/postgresql/setupdb_app.py:593: # Reconnect to set up bixie schema, types and procs
socorro/unittest/external/postgresql/test_error.py:31: cursor.execute(""" SET search_path TO bixie """)
socorro/unittest/external/postgresql/test_error.py:90: cursor.execute(""" SET search_path TO bixie """)
socorro/unittest/external/postgresql/test_errors.py:32: INSERT INTO bixie.crashes
socorro/unittest/external/postgresql/test_errors.py:78: INSERT INTO bixie.crashes
socorro/unittest/external/postgresql/test_errors.py:111: TRUNCATE bixie.crashes CASCADE
socorro/unittest/external/postgresql/test_products.py:150: # insert bixie errors
socorro/unittest/external/postgresql/test_products.py:152: INSERT INTO bixie.raw_product_releases
socorro/unittest/external/postgresql/test_products.py:198: bixie.raw_product_releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment