Have you tried a SQL Expression object? That might do it. Best,
Matthew Setter Malt Blue Ltd http://www.maltblue.com | [email protected] | @maltblue Connect with me on LinkedIn :: in/MatthewSetter Am 6 Aug 2013 um 15:42 schrieb jimmysole <[email protected]>: > Hello Everyone, > > I'm having some trouble finding how to make an integer unsigned with > Zend\Db\Sql\Ddl\Column\Integer. Is it automatically unsigned? Here is the > code I have: > > $table->addColumn((new Integer('visit_count', false, > 0))->setOption('visit_count', 'unsigned')); > > Is setOption() the method to make this happen or is their something else? > > Thanks > > > > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/Making-a-Integer-table-row-unsigned-with-Zend-Db-Sql-Ddl-Column-Integer-tp4660679.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- > List: [email protected] > Info: http://framework.zend.com/archives > Unsubscribe: [email protected] > > -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
