ADD table package
This commit is contained in:
parent
add4b362ac
commit
372fdada98
@ -118,3 +118,33 @@ INSERT INTO `#__depot_stock`(`name`, `location`, `description`, `state`, `access
|
|||||||
'MARS Svratka Workshop Depot 5x12 (60) compartments à 54 x 35 x 140 mm',1,0),
|
'MARS Svratka Workshop Depot 5x12 (60) compartments à 54 x 35 x 140 mm',1,0),
|
||||||
('SMD cabinet', 'Tom''s office, Martinstr. 58a, 3400 Klosterneuburg',
|
('SMD cabinet', 'Tom''s office, Martinstr. 58a, 3400 Klosterneuburg',
|
||||||
'SMD cabinet, conductive, 6-times cabinet with inlays, 6 x 7*6 (252) round boxes, each ø 27 x 13 mm',1,0);
|
'SMD cabinet, conductive, 6-times cabinet with inlays, 6 x 7*6 (252) round boxes, each ø 27 x 13 mm',1,0);
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `#__depot_package`;
|
||||||
|
CREATE TABLE `#__depot_package` (
|
||||||
|
`id` SERIAL,
|
||||||
|
`name` VARCHAR(400) NOT NULL DEFAULT '',
|
||||||
|
`alias` VARCHAR(400) NOT NULL DEFAULT '',
|
||||||
|
`image` VARCHAR(1024) NOT NULL DEFAULT '',
|
||||||
|
`state` TINYINT(4) NOT NULL DEFAULT 0
|
||||||
|
COMMENT 'Published=1,Unpublished=0,Archived=2,Trashed=-2',
|
||||||
|
`mounting_style` TINYINT(4) NOT NULL DEFAULT 0
|
||||||
|
COMMENT 'Unknown=0,Through_Hole=1,SMD/SMT=2',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = InnoDB
|
||||||
|
AUTO_INCREMENT=0
|
||||||
|
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
INSERT INTO `#__depot_package` (`name`,`state`,`mounting_style`) VALUES
|
||||||
|
('R_0603_1608Metric',1,2),
|
||||||
|
('R_0805_2012Metric',1,2),
|
||||||
|
('DIL8',1,1),
|
||||||
|
('DIL14',1,1),
|
||||||
|
('DIL16',1,1),
|
||||||
|
('DIL20',1,1),
|
||||||
|
('DIL28_SMALL',1,1),
|
||||||
|
('UFQFPN48',1,2),
|
||||||
|
('R_TH_0207_6xø2.3mm_0.25W',1,1),
|
||||||
|
('R_TH_0104_3.3xø1.8mm_0.125W',1,1),
|
||||||
|
('R_TH_0309_9xø3.2mm_0.5W',1,1),
|
||||||
|
('R_TH_0412_11.5xø4.5mm_1W',1,1),
|
||||||
|
('R_TH_0516_15.5xø5mm_2W',1,1);
|
||||||
|
@ -6,3 +6,6 @@
|
|||||||
-- @since 0.0.2
|
-- @since 0.0.2
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `#__depot`;
|
DROP TABLE IF EXISTS `#__depot`;
|
||||||
|
DROP TABLE IF EXISTS `#__depot_manufacturer`;
|
||||||
|
DROP TABLE IF EXISTS `#__depot_stock`;
|
||||||
|
DROP TABLE IF EXISTS `#__depot_package`;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<license>GPL v2 +; see LICENSE.md</license>
|
<license>GPL v2 +; see LICENSE.md</license>
|
||||||
<authorEmail>thomas@kuschel.at</authorEmail>
|
<authorEmail>thomas@kuschel.at</authorEmail>
|
||||||
<authorUrl>https://kuschel.at</authorUrl>
|
<authorUrl>https://kuschel.at</authorUrl>
|
||||||
<version>0.9.5</version>
|
<version>0.9.6</version>
|
||||||
<description>COM_DEPOT_XML_DESCRIPTION</description>
|
<description>COM_DEPOT_XML_DESCRIPTION</description>
|
||||||
<namespace path="src/">KW4NZ\Component\Depot</namespace>
|
<namespace path="src/">KW4NZ\Component\Depot</namespace>
|
||||||
<install> <!-- Runs on install -->
|
<install> <!-- Runs on install -->
|
||||||
|
Loading…
Reference in New Issue
Block a user