CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Which Sql file needs to be considered when we upgrade to work our own DB changes
Pages: [1]

Author Topic: Which Sql file needs to be considered when we upgrade to work our own DB changes  (Read 885 times)

dhavalesh

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.5
  • CMS version: Drupal7
  • MySQL version: 5
  • PHP version: 5
Which Sql file needs to be considered when we upgrade to work our own DB changes
August 26, 2011, 10:03:25 pm
Hello

I have made few changes to CiviCRM code to work with Screen reader, for that I have added one column in database. I have successfully added my DB changes to Installation process. Now, I want to integrate my DB changes with CiviCRM upgrade process. To do the same, I found there are so many SQL files present which are described below. Could you please let me know which file we need to consider for the upgrade process.

civicrm_upgradedb_v1.1_v1.2_40.mysql
 civicrm_upgradedb_v1.1_v1.2_41.mysql
 civicrm_upgradedb_v1.2_v1.3_40.mysql
 civicrm_upgradedb_v1.2_v1.3_41.mysql
 civicrm_upgradedb_v1.3_v1.4_40.mysql
 civicrm_upgradedb_v1.3_v1.4_41.mysql
 civicrm_upgradedb_v1.4_v1.5_40.mysql
 civicrm_upgradedb_v1.4_v1.5_41.mysql
 civicrm_upgradedb_v1.5_v1.6_40.mysql
 civicrm_upgradedb_v1.5_v1.6_41.mysql
 civicrm_upgradedb_v1.6_v1.7_40.mysql
 civicrm_upgradedb_v1.6_v1.7_41.mysql
 civicrm_upgradedb_v1.7_v1.8_41.mysql
 civicrm_upgradedb_v1.8_v1.9_41.mysql

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Which Sql file needs to be considered when we upgrade to work our own DB changes
August 27, 2011, 09:01:25 am
Can you give more details on your DB changes and the reasoning behind it.

Kurund
Found this reply helpful? Support CiviCRM

dhavalesh

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.5
  • CMS version: Drupal7
  • MySQL version: 5
  • PHP version: 5
Re: Which Sql file needs to be considered when we upgrade to work our own DB changes
August 28, 2011, 09:41:09 pm
Thanks for the reply Kurund.

I have added a column in "civicrm_preferences" table to store the Screen Reader compatibility preferences. Based on the preferences stored, I am loading the changes to browser. So to integrate the same with upgrade process of CiviCRM, I need the mysql file names to consider.

Thanks...Dhaval

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Which Sql file needs to be considered when we upgrade to work our own DB changes
August 29, 2011, 04:21:28 am
In CiviCRM database schema is generated from xml. So you will have to make changes in xml/schema/Core/Preferences.xml and then regenerate your database. Upgrade sql's are here: CRM/Upgrade/Incremental/sql/

ping us on #civicrm irc channel, if you need any help

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Which Sql file needs to be considered when we upgrade to work our own DB changes

This forum was archived on 2017-11-26.