diff --git a/panelizer.install b/panelizer.install
index b002100..a9e3ccb 100644
--- a/panelizer.install
+++ b/panelizer.install
@@ -97,7 +97,7 @@ function panelizer_schema_1() {
       'entity_type' => array(
         'description' => 'The type of the entity this panel is attached to.',
         'type' => 'varchar',
-        'length' => 255,
+        'length' => 128,
         'not null' => TRUE,
       ),
       'entity_id' => array(
