mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
Merge remote-tracking branch 'remotes/igorw/feature/remove-imagesets' into develop
This commit is contained in:
commit
52b2ee5a06
@ -1639,14 +1639,12 @@ function get_schema_struct()
|
||||
'style_active' => array('BOOL', 1),
|
||||
'template_id' => array('UINT', 0),
|
||||
'theme_id' => array('UINT', 0),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
'PRIMARY_KEY' => 'style_id',
|
||||
'KEYS' => array(
|
||||
'style_name' => array('UNIQUE', 'style_name'),
|
||||
'template_id' => array('INDEX', 'template_id'),
|
||||
'theme_id' => array('INDEX', 'theme_id'),
|
||||
'imageset_id' => array('INDEX', 'imageset_id'),
|
||||
),
|
||||
);
|
||||
|
||||
@ -1679,35 +1677,6 @@ function get_schema_struct()
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_styles_imageset'] = array(
|
||||
'COLUMNS' => array(
|
||||
'imageset_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'imageset_name' => array('VCHAR_UNI:255', ''),
|
||||
'imageset_copyright' => array('VCHAR_UNI', ''),
|
||||
'imageset_path' => array('VCHAR:100', ''),
|
||||
),
|
||||
'PRIMARY_KEY' => 'imageset_id',
|
||||
'KEYS' => array(
|
||||
'imgset_nm' => array('UNIQUE', 'imageset_name'),
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_styles_imageset_data'] = array(
|
||||
'COLUMNS' => array(
|
||||
'image_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'image_name' => array('VCHAR:200', ''),
|
||||
'image_filename' => array('VCHAR:200', ''),
|
||||
'image_lang' => array('VCHAR:30', ''),
|
||||
'image_height' => array('USINT', 0),
|
||||
'image_width' => array('USINT', 0),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
'PRIMARY_KEY' => 'image_id',
|
||||
'KEYS' => array(
|
||||
'i_d' => array('INDEX', 'imageset_id'),
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_topics'] = array(
|
||||
'COLUMNS' => array(
|
||||
'topic_id' => array('UINT', NULL, 'auto_increment'),
|
||||
|
@ -1307,7 +1307,7 @@ CREATE TABLE [phpbb_styles] (
|
||||
[style_copyright] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[style_active] [int] DEFAULT (1) NOT NULL ,
|
||||
[template_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[theme_id] [int] DEFAULT (0) NOT NULL
|
||||
[theme_id] [int] DEFAULT (0) NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user