Jump to content

modul upgrade and install


rrd

Recommended Posts

I have a modul, and I had to change an sql field. So I have created upgrade-0.0.9.php file in which I run a SQL statement to change a filed from text to mediumtext.

 

Now, if a user has already installed any previous versions, his database table will be upgraded.

 

It is OK.

 

What about those users who will install 0.0.9 (or later) version first?

Will the upgrade script run for them, or I should change my install.php accordingly?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...