Spaltentyp "custom_variable_configs.type" und ".module" auf TEXT geƤndert
[kivitendo-erp.git] / SL / DB / MetaSetup / CustomVariableConfig.pm
index 5ee01c1..c4077f8 100644 (file)
@@ -11,16 +11,16 @@ __PACKAGE__->meta->setup(
 
   columns => [
     id                  => { type => 'integer', not_null => 1, sequence => 'custom_variable_configs_id' },
-    name                => { type => 'text' },
-    description         => { type => 'text' },
-    type                => { type => 'varchar', length => 20 },
-    module              => { type => 'varchar', length => 20 },
+    name                => { type => 'text', not_null => 1 },
+    description         => { type => 'text', not_null => 1 },
+    type                => { type => 'text', not_null => 1 },
+    module              => { type => 'text', not_null => 1 },
     default_value       => { type => 'text' },
     options             => { type => 'text' },
-    searchable          => { type => 'boolean' },
-    includeable         => { type => 'boolean' },
-    included_by_default => { type => 'boolean' },
-    sortkey             => { type => 'integer' },
+    searchable          => { type => 'boolean', not_null => 1 },
+    includeable         => { type => 'boolean', not_null => 1 },
+    included_by_default => { type => 'boolean', not_null => 1 },
+    sortkey             => { type => 'integer', not_null => 1 },
     itime               => { type => 'timestamp', default => 'now()' },
     mtime               => { type => 'timestamp' },
     flags               => { type => 'text' },