Pārlūkot izejas kodu

Tripal TOC can now be customized with values in tripal_toc table. Still need an interface

Stephen Ficklin 10 gadi atpakaļ
vecāks
revīzija
9ee5327317
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      tripal_core/tripal_core.install

+ 3 - 3
tripal_core/tripal_core.install

@@ -419,16 +419,16 @@ function tripal_core_tripal_toc_schema() {
       'title' => array(
         'type' => 'varchar',
         'length' => 255,
-        'not null' => TRUE
+        'not null' => FALSE
       ),
       'weight' => array(
         'type' => 'int',
-        'not null' => TRUE
+        'not null' => FALSE
       ),
       'hide' => array(
         'type' => 'int',
         'size' => 'tiny',
-        'not null' => TRUE,
+        'not null' => FALSE,
         'default' => 0,
       ),
       'nid' => array(