Skip to content

Commit

Permalink
Removed default vaules for Doctrine
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jul 8, 2017
1 parent fa65cec commit 753dd5e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lib/custom/setup/default/schema/customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@
$table->addColumn( 'confirmation_token', 'string', array( 'length' => 180, 'notnull' => false ) );
$table->addColumn( 'password_requested_at', 'datetime', array( 'notnull' => false ) );
$table->addColumn( 'roles', 'text', array( 'length' => 0x7fffffff, 'comment' => '(DC2Type:array)' ) );
$table->addColumn( 'salutation', 'string', array( 'length' => 8, 'default' => '' ) );
$table->addColumn( 'company', 'string', array( 'length' => 100, 'default' => '' ) );
$table->addColumn( 'vatid', 'string', array( 'length' => 32, 'default' => '' ) );
$table->addColumn( 'title', 'string', array( 'length' => 64, 'default' => '' ) );
$table->addColumn( 'firstname', 'string', array( 'length' => 64, 'default' => '' ) );
$table->addColumn( 'lastname', 'string', array( 'length' => 64, 'default' => '' ) );
$table->addColumn( 'address1', 'string', array( 'length' => 200, 'default' => '' ) );
$table->addColumn( 'address2', 'string', array( 'length' => 200, 'default' => '' ) );
$table->addColumn( 'address3', 'string', array( 'length' => 200, 'default' => '' ) );
$table->addColumn( 'postal', 'string', array( 'length' => 16, 'default' => '' ) );
$table->addColumn( 'city', 'string', array( 'length' => 200, 'default' => '' ) );
$table->addColumn( 'state', 'string', array( 'length' => 200, 'default' => '' ) );
$table->addColumn( 'salutation', 'string', array( 'length' => 8 ) );
$table->addColumn( 'company', 'string', array( 'length' => 100 ) );
$table->addColumn( 'vatid', 'string', array( 'length' => 32 ) );
$table->addColumn( 'title', 'string', array( 'length' => 64 ) );
$table->addColumn( 'firstname', 'string', array( 'length' => 64 ) );
$table->addColumn( 'lastname', 'string', array( 'length' => 64 ) );
$table->addColumn( 'address1', 'string', array( 'length' => 200 ) );
$table->addColumn( 'address2', 'string', array( 'length' => 200 ) );
$table->addColumn( 'address3', 'string', array( 'length' => 200 ) );
$table->addColumn( 'postal', 'string', array( 'length' => 16 ) );
$table->addColumn( 'city', 'string', array( 'length' => 200 ) );
$table->addColumn( 'state', 'string', array( 'length' => 200 ) );
$table->addColumn( 'langid', 'string', array( 'length' => 5, 'notnull' => false ) );
$table->addColumn( 'countryid', 'string', array( 'length' => 2, 'notnull' => false, 'fixed' => true ) );
$table->addColumn( 'telephone', 'string', array( 'length' => 32, 'default' => '' ) );
$table->addColumn( 'telefax', 'string', array( 'length' => 32, 'default' => '' ) );
$table->addColumn( 'website', 'string', array( 'length' => 255, 'default' => '' ) );
$table->addColumn( 'telephone', 'string', array( 'length' => 32 ) );
$table->addColumn( 'telefax', 'string', array( 'length' => 32 ) );
$table->addColumn( 'website', 'string', array( 'length' => 255 ) );
$table->addColumn( 'longitude', 'decimal', array( 'precision' => 8, 'scale' => 6, 'notnull' => false ) );
$table->addColumn( 'latitude', 'decimal', array( 'precision' => 8, 'scale' => 6, 'notnull' => false ) );
$table->addColumn( 'birthday', 'date', array( 'notnull' => false ) );
$table->addColumn( 'vdate', 'date', array( 'notnull' => false ) );
$table->addColumn( 'mtime', 'datetime', array( 'notnull' => false ) );
$table->addColumn( 'ctime', 'datetime', array( 'notnull' => false ) );
$table->addColumn( 'editor', 'string', array('length' => 255, 'default' => '' ) );
$table->addColumn( 'editor', 'string', array('length' => 255 ) );

$table->setPrimaryKey( array( 'id' ), 'pk_fosus_id' );
$table->addUniqueIndex( array( 'confirmation_token' ), 'unq_fosus_confirmtoken' );
Expand Down

0 comments on commit 753dd5e

Please sign in to comment.