The state of my tables, maybe this can help a little.
Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
access_log | InnoDB | 10 | Compact | 2778585 | 43 | 121241600 | 0 | 129220608 | 32505856 | 2734129 | 2019-03-26 11:06:43 | NULL | NULL | utf8_unicode_ci | NULL | ||
accession | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 81920 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
accession_i18n | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
acl_group | InnoDB | 10 | Compact | 8 | 2048 | 16384 | 0 | 16384 | 32505856 | 105 | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
acl_group_i18n | InnoDB | 10 | Compact | 8 | 2048 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
acl_permission | InnoDB | 10 | Compact | 38 | 431 | 16384 | 0 | 49152 | 32505856 | 39 | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
acl_user_group | InnoDB | 10 | Compact | 13 | 1260 | 16384 | 0 | 32768 | 32505856 | 14 | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
actor | InnoDB | 10 | Compact | 5821 | 47 | 278528 | 0 | 475136 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
actor_i18n | InnoDB | 10 | Compact | 1377 | 1154 | 1589248 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
aip | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 32768 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
contact_information | InnoDB | 10 | Compact | 4 | 4096 | 16384 | 0 | 16384 | 32505856 | 6 | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
contact_information_i18n | InnoDB | 10 | Compact | 5 | 3276 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
deaccession | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 32768 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
deaccession_i18n | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
digital_object | InnoDB | 10 | Compact | 582 | 422 | 245760 | 0 | 65536 | 32505856 | NULL | 2019-03-26 11:34:39 | NULL | NULL | utf8_unicode_ci | NULL | ||
donor | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:01 | NULL | NULL | utf8_unicode_ci | NULL | ||
event | InnoDB | 10 | Compact | 14357 | 110 | 1589248 | 0 | 917504 | 32505856 | NULL | 2019-03-26 11:34:38 | NULL | NULL | utf8_unicode_ci | NULL | ||
event_i18n | InnoDB | 10 | Compact | 15894 | 99 | 1589248 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
function | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 65536 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
function_i18n | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
granted_right | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 32768 | 32505856 | 1 | 2019-03-26 11:09:02 | NULL | NULL | latin1_swedish_ci | NULL | ||
information_object | InnoDB | 10 | Compact | 8124 | 195 | 1589248 | 0 | 1392640 | 32505856 | 14422 | 2019-03-26 11:34:39 | NULL | NULL | utf8_unicode_ci | NULL | ||
information_object_i18n | InnoDB | 10 | Compact | 6865 | 689 | 4734976 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
job | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 49152 | 32505856 | NULL | 2019-03-26 11:37:10 | NULL | NULL | latin1_swedish_ci | NULL | ||
keymap | InnoDB | 10 | Compact | 3193 | 76 | 245760 | 0 | 0 | 32505856 | 2952 | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
menu | InnoDB | 10 | Compact | 63 | 260 | 16384 | 0 | 16384 | 32505856 | 65 | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
menu_i18n | InnoDB | 10 | Compact | 348 | 47 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
note | InnoDB | 10 | Compact | 7066 | 60 | 425984 | 0 | 475136 | 32505856 | 9580 | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
note_i18n | InnoDB | 10 | Compact | 8769 | 48 | 425984 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:02 | NULL | NULL | utf8_unicode_ci | NULL | ||
oai_harvest | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 16384 | 32505856 | 1 | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
oai_repository | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | 1 | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
object | InnoDB | 10 | Compact | 73840 | 64 | 4734976 | 0 | 0 | 32505856 | 86698 | 2019-03-26 11:34:40 | NULL | NULL | utf8_unicode_ci | NULL | ||
object_term_relation | InnoDB | 10 | Compact | 7586 | 43 | 327680 | 0 | 458752 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
other_name | InnoDB | 10 | Compact | 100 | 163 | 16384 | 0 | 32768 | 32505856 | 106 | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
other_name_i18n | InnoDB | 10 | Compact | 101 | 162 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
physical_object | InnoDB | 10 | Compact | 8691 | 43 | 376832 | 0 | 278528 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
physical_object_i18n | InnoDB | 10 | Compact | 8539 | 47 | 409600 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
premis_object | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 16384 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | latin1_swedish_ci | NULL | ||
property | InnoDB | 10 | Compact | 20371 | 78 | 1589248 | 0 | 475136 | 32505856 | 25436 | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
property_i18n | InnoDB | 10 | Compact | 19099 | 193 | 3686400 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:03 | NULL | NULL | utf8_unicode_ci | NULL | ||
relation | InnoDB | 10 | Compact | 8674 | 47 | 409600 | 0 | 688128 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
relation_i18n | InnoDB | 10 | Compact | 10333 | 30 | 311296 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
repository | InnoDB | 10 | Compact | 44 | 372 | 16384 | 0 | 32768 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
repository_i18n | InnoDB | 10 | Compact | 23 | 1424 | 32768 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
rights | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 65536 | 32505856 | NULL | 2019-03-26 11:34:39 | NULL | NULL | utf8_unicode_ci | NULL | ||
rights_holder | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
rights_i18n | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:34:39 | NULL | NULL | utf8_unicode_ci | NULL | ||
setting | InnoDB | 10 | Compact | 143 | 114 | 16384 | 0 | 0 | 32505856 | 150 | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
setting_i18n | InnoDB | 10 | Compact | 282 | 58 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
slug | InnoDB | 10 | Compact | 60217 | 61 | 3686400 | 0 | 4227072 | 32505856 | 91797 | 2019-03-26 11:09:04 | NULL | NULL | utf8_unicode_ci | NULL | ||
static_page | InnoDB | 10 | Compact | 2 | 8192 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
static_page_i18n | InnoDB | 10 | Compact | 23 | 2137 | 49152 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
status | InnoDB | 10 | Compact | 8301 | 47 | 393216 | 0 | 475136 | 32505856 | 14417 | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
taxonomy | InnoDB | 10 | Compact | 45 | 364 | 16384 | 0 | 16384 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
taxonomy_i18n | InnoDB | 10 | Compact | 335 | 146 | 49152 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
term | InnoDB | 10 | Compact | 3289 | 54 | 180224 | 0 | 262144 | 32505856 | NULL | 2019-03-26 11:34:39 | NULL | NULL | utf8_unicode_ci | NULL | ||
term_i18n | InnoDB | 10 | Compact | 3952 | 62 | 245760 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL | ||
user | InnoDB | 10 | Compact | 11 | 1489 | 16384 | 0 | 0 | 32505856 | NULL | 2019-03-26 11:09:05 | NULL | NULL | utf8_unicode_ci | NULL |
acl_group_i18n |
actor_i18n |
contact_information_i18n |
event_i18n |
information_object_i18n |
menu_i18n |
note_i18n |
other_name_i18n |
physical_object_i18n |
property_i18n |
relation_i18n |
repository_i18n |
setting_i18n |
static_page_page_i18n |
taxonomy_i18n |
term_i18n |
php symfony cc && php symfony search:populate
php symfony digitalobject:regen-derivatives
php symfony digitalobject:extract-text
php symfony propel:build-nested-set
The site look pretty well after that, but I'm testing it.
What exactly does the command php symfony tools:upgrade-sql?
Thanks.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/f62d7d9f-aa14-40a8-bbfc-fff60e992762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
9-06-14T15:29:11.837058Z 16 Query SET NAMES 'utf8'
2019-06-14T15:29:11.848928Z 16 Query SELECT object.CLASS_NAME, object.CREATED_AT, object.UPDATED_AT, object.ID, object.SERIAL_NUMBER FROM `object`, `slug` WHERE slug.SLUG='home' AND slug.OBJECT_ID=object.ID
2019-06-14T15:29:11.854431Z 16 Query SELECT
setting.*,
(CASE WHEN (current.VALUE IS NOT NULL AND current.VALUE <> "") THEN current.VALUE ELSE source.VALUE END) AS value,
(CASE WHEN (current.CULTURE IS NOT NULL AND current.CULTURE <> "") THEN current.CULTURE ELSE source.CULTURE END) AS culture,
source.VALUE AS value_source
FROM setting
LEFT JOIN setting_i18n current
ON (setting.ID = current.id AND current.CULTURE = 'es')
LEFT JOIN setting_i18n source
ON (setting.ID = source.id AND source.CULTURE = setting.SOURCE_CULTURE)
2019-06-14T15:29:12.426456Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.426935Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.427410Z 16 Query SELECT setting_i18n.VALUE, setting_i18n.ID, setting_i18n.CULTURE FROM `setting_i18n` WHERE setting_i18n.ID=27
2019-06-14T15:29:12.427853Z 16 Query SELECT setting_i18n.VALUE, setting_i18n.ID, setting_i18n.CULTURE FROM `setting_i18n` WHERE setting_i18n.ID=31
2019-06-14T15:29:12.428239Z 16 Query SELECT setting_i18n.VALUE, setting_i18n.ID, setting_i18n.CULTURE FROM `setting_i18n` WHERE setting_i18n.ID=48
2019-06-14T15:29:12.428581Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.428929Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.429520Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.429823Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.430373Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.430689Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.431298Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.431731Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.432307Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.432663Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.433245Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.433912Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.434527Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.434923Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.435527Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.436037Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.436679Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.437028Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.437615Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.437966Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.438559Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.439046Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.439666Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.439957Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.440540Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.440830Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.441418Z 16 Query SELECT COUNT(*) FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.441708Z 16 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages'
2019-06-14T15:29:12.458370Z 16 Quit
SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.SCOPE='i18n_languages';
+------+----------------+----------+------------+----------------+----+---------------+
| NAME | SCOPE | EDITABLE | DELETEABLE | SOURCE_CULTURE | ID | SERIAL_NUMBER |
+------+----------------+----------+------------+----------------+----+---------------+
| es | i18n_languages | 1 | 0 | es | 27 | 0 |
| pt | i18n_languages | 1 | 1 | en | 31 | 0 |
| en | i18n_languages | 1 | 1 | en | 48 | 0 |
+------+----------------+----------+------------+----------------+----+---------------+
3 rows in set (0,00 sec)
Hi there,The upgrade-sql task runs database schema migrations to make sure that, when we add new features or change AtoM in a way that affects the database, your database is updated to included the changes. You can see the schema migration scripts that are run sequentially by this task here, and in the subdirectories:When you look in Admin > Settings > Global at the application version, you will see it usually includes 2 numbers, like this:
- 2.4.0 - 156
The first number is the release version. The second number if the database schema version. If you forget to run the upgrade-sql task when upgrading it can cause issues because some of the tables or columns that AtoM expects will either not be there, or be in an unexpected form.I'm glad to hear that so far, this has helped you! Let us know how the rest of your testing goes.Cheers,
To unsubscribe from this group and stop receiving emails from it, send an email to ica-ato...@googlegroups.com.