Commit 9340b0f 1 parent 1bc6107 commit 9340b0f Copy full SHA for 9340b0f
File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ create table %PREFIX%_components
121
121
com_name varchar (255 ) not null ,
122
122
com_name_intern varchar (255 ) not null ,
123
123
com_version varchar (10 ) not null ,
124
- com_beta smallint ,
124
+ com_beta smallint not null default 0 ,
125
125
com_update_step integer not null default 0 ,
126
126
com_timestamp_installed timestamp not null default CURRENT_TIMESTAMP ,
127
127
primary key (com_id)
Original file line number Diff line number Diff line change 144
144
<step id =" 530" >alter table %PREFIX%_ids add constraint %PREFIX%_FK_IDS_USR_ID foreign key (ids_usr_id) references %PREFIX%_users (usr_id) on delete restrict on update restrict</step >
145
145
<step id =" 540" >UPDATE %PREFIX%_preferences SET prf_value = '13' WHERE prf_name LIKE 'captcha_signature_font_size' AND prf_value LIKE '9'</step >
146
146
<step id =" 550" >ComponentUpdate::updateStepDeleteDateRoles</step >
147
- <step id =" 560" >create unique index IDX_%PREFIX%_IND_ITM_INF_ID on %PREFIX%_invent_data (ind_itm_id, ind_inf_id);</step >
148
- <step id =" 570" >create unique index IDX_%PREFIX%_INF_NAME_INTERN on %PREFIX%_invent_fields (inf_name_intern);</step >
147
+ <step id =" 560" >create unique index IDX_%PREFIX%_IND_ITM_INF_ID on %PREFIX%_invent_data (ind_itm_id, ind_inf_id)</step >
148
+ <step id =" 570" >create unique index IDX_%PREFIX%_INF_NAME_INTERN on %PREFIX%_invent_fields (inf_name_intern)</step >
149
+ <step id =" 580" database =" mysql" >ALTER TABLE %PREFIX%_components MODIFY COLUMN com_beta smallint not null default 0</step >
150
+ <step id =" 590" database =" postgresql" >ALTER TABLE %PREFIX%_components ALTER COLUMN com_beta SET DEFAULT 0</step >
151
+ <step id =" 600" database =" postgresql" >ALTER TABLE %PREFIX%_components ALTER COLUMN com_beta SET NOT NULL</step >
149
152
<step >stop</step >
150
153
</update >
Original file line number Diff line number Diff line change 19
19
define ('ADMIDIO_VERSION_MAIN ' , 3 );
20
20
define ('ADMIDIO_VERSION_MINOR ' , 0 );
21
21
define ('ADMIDIO_VERSION_PATCH ' , 0 );
22
- define ('ADMIDIO_VERSION_BETA ' , 4 );
22
+ define ('ADMIDIO_VERSION_BETA ' , 0 );
23
23
define ('ADMIDIO_VERSION ' , ADMIDIO_VERSION_MAIN . '. ' . ADMIDIO_VERSION_MINOR . '. ' . ADMIDIO_VERSION_PATCH );
24
24
25
25
if (ADMIDIO_VERSION_BETA > 0 )
You can’t perform that action at this time.
0 commit comments