SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";

/*!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 */;


TRUNCATE TABLE `acl`;
INSERT INTO `acl` (`ref_group`, `ref_endpoint`, `method`) VALUES
(NULL, 'coffee', 'GET'),
(NULL, 'languages', 'GET'),
(NULL, 'update', 'GET'),
(NULL, 'work', 'GET'),
('vlw', 'coffee', 'POST'),
('vlw', 'coffee', 'DELETE');

TRUNCATE TABLE `endpoints`;
INSERT INTO `endpoints` (`id`, `active`) VALUES
('coffee', 1),
('languages', 1),
('update', 1),
('work', 1);

TRUNCATE TABLE `groups`;
INSERT INTO `groups` (`id`, `active`, `date_created`) VALUES
('vlw', 1, 0);

TRUNCATE TABLE `rel_users_groups`;
INSERT INTO `rel_users_groups` (`ref_user`, `ref_group`) VALUES
('vlw', 'vlw');

TRUNCATE TABLE `users`;
INSERT INTO `users` (`id`, `active`, `created`) VALUES
('vlw', 1, 0);
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 */;
