Object #<CreateTable> has no method 'create' #4

brihogan opened this Issue Feb 27, 2011 · 0 comments


None yet

1 participant


Seems like the .create function isn't working when building table rows. The readme shows:
t.create('score', 'integer', {limit: 8})
But, that dosen't seem to work. I'd prefer the create function rather than a function named after the datatype - but maybe that's just me. Anyway, great module. Thanks for building!

$ node migrate.js migrate

t.create('id', 'integer', {not_null:true} );
TypeError: Object # has no method 'create'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment