13 lines
444 B
SQL
13 lines
444 B
SQL
USE `vn2008`;
|
|
|
|
ALTER TABLE `vn2008`.`reinos`
|
|
ADD COLUMN `icon` VARCHAR(45) NULL AFTER `mercancia`;
|
|
|
|
INSERT INTO `vn2008`.`reinos` (`reino`, `display`, `icon`) VALUES
|
|
('Handmade', '1', 'icon-handmade'),
|
|
('Artificial', '1', 'icon-artificial'),
|
|
('Green', '1', 'icon-greenery'),
|
|
('Accessories', '1', 'icon-accessory');
|
|
|
|
UPDATE `vn2008`.`reinos` SET `icon`='icon-plant' WHERE `id`=1;
|
|
UPDATE `vn2008`.`reinos` SET `icon`='icon-flower' WHERE `id`=2; |