Skip to content

Instantly share code, notes, and snippets.

Avatar

Byron Formwalt byronformwalt

  • Reno, NV
View GitHub Profile
@byronformwalt
byronformwalt / 2016_12_18_205220_create_table_examples.py
Last active Dec 18, 2016
Demonstrating Use of Out-of-Schema Properties with Orator
View 2016_12_18_205220_create_table_examples.py
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')