2017-12-25 12:33:07 +00:00
|
|
|
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
|
|
SET AUTOCOMMIT = 0;
|
|
|
|
START TRANSACTION;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Tabelstructuur `tree`
|
|
|
|
--
|
|
|
|
|
|
|
|
CREATE TABLE `tree` (
|
|
|
|
`id` int(11) UNSIGNED NOT NULL,
|
|
|
|
`position_x` double DEFAULT NULL,
|
|
|
|
`position_y` double DEFAULT NULL,
|
|
|
|
`position_z` double DEFAULT NULL,
|
2018-01-19 05:07:56 +00:00
|
|
|
`regrow` int(1) NOT NULL DEFAULT '0',
|
2017-12-25 12:33:07 +00:00
|
|
|
`added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
|
2018-01-19 05:07:56 +00:00
|
|
|
|
2017-12-25 12:33:07 +00:00
|
|
|
--
|
|
|
|
-- Indexen `tree`
|
|
|
|
--
|
|
|
|
ALTER TABLE `tree`
|
|
|
|
ADD PRIMARY KEY (`id`);
|
|
|
|
--
|
|
|
|
-- AUTO_INCREMENT `tree`
|
|
|
|
--
|
|
|
|
ALTER TABLE `tree`
|
2017-12-27 14:32:20 +00:00
|
|
|
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;
|
2017-12-25 12:33:07 +00:00
|
|
|
COMMIT;
|