Changes between Version 7 and Version 8 of DespoinaLog/2010/12/08
- Timestamp:
- 2010-12-08T14:00:53+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DespoinaLog/2010/12/08
v7 v8 3 3 * org.molgenis.framework.db.!DatabaseException: Unknown column '!OntologyTerm.!__Type' in 'where clause' 4 4 * Was this produced after the import ? (generate gcc, update db -> test if it is shown --> import -> test if it's there) 5 * So this is the problem for !OntologyTerm:5 * So this is the '''PROBLEM ''' for !OntologyTerm : 6 6 * * mysql> describe !OntologyTerm; 7 7 * +---------------+--------------------------------+------+-----+---------+----------------+ … … 28 28 * | definition | varchar(255) | YES | | NULL | | 29 29 * +---------------+--------------+------+-----+---------+----------------+ 30 * 5 rows in set (0.01 sec) 31 * * mysql> describe biobanks; 30 * 5 rows in set (0.01 sec) 31 * '''SOLUTION''' 32 * mysql> alter table bbmri_old.!OntologyTerm change term name varchar(255) ; 33 * Query OK, 164 rows affected (0.32 sec) 34 * Records: 164 Duplicates: 0 Warnings: 0 35 * * mysql> alter table bbmri_old.!OntologyTerm add column !__Type enum('!OntologyTerm','Species') ; 36 * Query OK, 164 rows affected (0.11 sec) 37 * Records: 164 Duplicates: 0 Warnings: 0 38 * 39 * 40 * * mysql> describe biobanks; 32 41 * ERROR 1146 (42S02): Table 'bbmri.biobanks' doesn't exist 33 42 * mysql> describe biobank; 34 43 * +-------------+--------------------------------+------+-----+---------+-------+ 35 * | Field | Type| Null | Key | Default | Extra |44 * | Field | Type | Null | Key | Default | Extra | 36 45 * +-------------+--------------------------------+------+-----+---------+-------+ 37 * | Acronym | varchar(255) | YES | | NULL ||38 * | Category | int(11) | NO | MUL | NULL ||39 * | Type | enum('core','support','other') | NO | | NULL ||40 * | Size | varchar(255) | YES | | NULL ||41 * | !LastUpdate | date | NO | | NULL ||42 * | Description | text | YES | | NULL ||43 * | id | int(11) | NO | PRI | NULL ||46 * | Acronym | varchar(255) | YES | | NULL | | 47 * | Category | int(11) | NO | MUL | NULL | | 48 * | Type | enum('core','support','other') | NO | | NULL | | 49 * | Size | varchar(255) | YES | | NULL | | 50 * | !LastUpdate | date | NO | | NULL | | 51 * | Description | text | YES | | NULL | | 52 * | id | int(11) | NO | PRI | NULL | | 44 53 * +-------------+--------------------------------+------+-----+---------+-------+ 45 54 * 7 rows in set (0.00 sec) … … 47 56 * mysql> describe bbmri_old.biobank; 48 57 * +-------------+--------------------------------+------+-----+---------+-------+ 49 * | Field | Type| Null | Key | Default | Extra |58 * | Field | Type | Null | Key | Default | Extra | 50 59 * +-------------+--------------------------------+------+-----+---------+-------+ 51 * | Acronym | varchar(255) | YES | | NULL ||52 * | Category | int(11) | NO | MUL | NULL ||53 * | Type | enum('core','support','other') | NO | | NULL ||54 * | Size | varchar(255) | YES | | NULL ||55 * | !LastUpdate | date | NO | | NULL ||56 * | Description | text | YES | | NULL ||57 * | id | int(11) | NO | PRI | NULL ||60 * | Acronym | varchar(255) | YES | | NULL | | 61 * | Category | int(11) | NO | MUL | NULL | | 62 * | Type | enum('core','support','other') | NO | | NULL | | 63 * | Size | varchar(255) | YES | | NULL | | 64 * | !LastUpdate | date | NO | | NULL | | 65 * | Description | text | YES | | NULL | | 66 * | id | int(11) | NO | PRI | NULL | | 58 67 * +-------------+--------------------------------+------+-----+---------+-------+ 59 * 7 rows in set (0.00 sec) 60 * 68 * 7 rows in set (0.00 sec) *'''Note:''' See [http://gbic.target.rug.nl/trac/molgenis/wiki/WikiFormatting WikiFormatting] and [http://gbic.target.rug.nl/trac/molgenis/wiki/TracWiki TracWiki] for help on editing wiki content.Change informationComment about this change (optional):[[BR]]Tag under: ([http://gbic.target.rug.nl/trac/molgenis/tags view all tags])[[BR]] Page is read-only Last modified by antonak, 12/08/10 13:50:50 ([http://gbic.target.rug.nl/trac/molgenis/timeline?from=2010-12-08T13%3A50%3A50%2B01%3A00&precision=second 6 minutes] ago)