mysql - Table localization - One column for a table -
i have got 1 column table when create 2 localized tables. code bellow.
-- month create table `month` ( `id` int primary key not null auto_increment, ); -- month localized create table `month_loc` ( `month_id' int not null, `name` varchar(200) not null, `description` varchar(500) not null, `lang_id` int not null );
month_loc.month_id
foreign key.
month
table holds primary key. other fields should localized. table structure correct ?
thanks.
if correct implies degree of normalization, , content of columns name
, description
vary per month_id, lang_id
(which combined primary key of month_loc
), yes, design has reached 3rd grade of normlization.
Comments
Post a Comment