Skip to content

Instantly share code, notes, and snippets.

View byronformwalt's full-sized avatar

Byron Formwalt byronformwalt

  • Oklahoma City, OK
View GitHub Profile
@byronformwalt
byronformwalt / 2016_12_18_205220_create_table_examples.py
Last active December 18, 2016 21:35
Demonstrating Use of Out-of-Schema Properties with Orator
from orator.migrations import Migration
class CreateTableExamples(Migration):
def up(self):
"""
Run the migrations.
"""
with self.schema.create('examples') as table:
table.big_increments('id')