mirror of
https://github.com/DoubleRepo/PersistentTreeLogging.git
synced 2024-08-30 16:52:16 +00:00
40 lines
1.1 KiB
SQL
40 lines
1.1 KiB
SQL
SET FOREIGN_KEY_CHECKS=0;
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
SET AUTOCOMMIT = 0;
|
|
START TRANSACTION;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8mb4 */;
|
|
|
|
|
|
--
|
|
-- 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,
|
|
`added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
--
|
|
-- Indexen `tree`
|
|
--
|
|
ALTER TABLE `tree`
|
|
ADD PRIMARY KEY (`id`);
|
|
--
|
|
-- AUTO_INCREMENT `tree`
|
|
--
|
|
ALTER TABLE `tree`
|
|
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
|
|
SET FOREIGN_KEY_CHECKS=1;
|
|
COMMIT;
|
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |