vladimirbiro / article-manager
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vladimirbiro/article-manager
Requires
- nette/bootstrap: ^2.4
- nette/database: ^2.4
- nette/di: ^2.4
- nette/robot-loader: ^3.0
- tracy/tracy: ^2.4
Requires (Dev)
- nette/tester: ^2.0
This package is auto-updated.
Last update: 2025-11-25 11:03:57 UTC
README
Inštalácia
composer require vladimirbiro/article-manager:dev-master
Vytvorenie tabulky produktov
CREATE TABLE `article` (
`id_article` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`description` text,
`id_manufacturer` int(11) DEFAULT NULL,
`price` float NOT NULL DEFAULT '0' COMMENT 'Cena',
`q` int(11) DEFAULT NULL COMMENT 'Pocet kusov',
`time_add` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Cas pridania produktu',
`is_public` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Verejny / Sukromny',
`is_delete` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Vymazany',
PRIMARY KEY (`id_article`)
);
Tabulka obsahuje iba nevyhnutné údaje. Je možné ju rozšíriť o ďalšie stĺpce.