Bläddra i källkod

updated mviews to use big ints

Stephen Ficklin 9 år sedan
förälder
incheckning
4beb60a240

+ 2 - 0
tripal_cv/tripal_cv.install

@@ -203,10 +203,12 @@ function tripal_cv_add_cv_root_mview() {
         'not null' => TRUE,
       ),
       'cvterm_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),
       'cv_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),

+ 2 - 0
tripal_feature/tripal_feature.install

@@ -249,6 +249,7 @@ function tripal_feature_add_organism_count_mview() {
     'table' => $view_name,
     'fields' => array(
       'organism_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),
@@ -272,6 +273,7 @@ function tripal_feature_add_organism_count_mview() {
         'not null' => TRUE,
       ),
       'cvterm_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),

+ 1 - 0
tripal_library/tripal_library.install

@@ -121,6 +121,7 @@ function tripal_library_add_mview_library_feature_count(){
     'description' => $comment,
     'fields' => array(
       'library_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),

+ 2 - 0
tripal_stock/tripal_stock.install

@@ -121,6 +121,7 @@ function tripal_stock_add_organism_count_mview() {
     'table' => $view_name,
     'fields' => array(
       'organism_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),
@@ -144,6 +145,7 @@ function tripal_stock_add_organism_count_mview() {
         'not null' => TRUE,
       ),
       'cvterm_id' => array(
+        'size' => 'big',
         'type' => 'int',
         'not null' => TRUE,
       ),