diff --git a/scripts/ulogger.mysql b/scripts/ulogger.mysql index 4226089..2e41c12 100644 --- a/scripts/ulogger.mysql +++ b/scripts/ulogger.mysql @@ -131,5 +131,5 @@ INSERT INTO `ol_layers` (`id`, `name`, `url`, `priority`) VALUES -- The password should be changed immediatelly after installation -- Uncomment if needed -- --- INSERT INTO `users` (`id`, `login`, `password`) VALUES --- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq'); \ No newline at end of file +-- INSERT INTO `users` (`id`, `login`, `password`, `admin`) VALUES +-- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq', TRUE); \ No newline at end of file diff --git a/scripts/ulogger.pgsql b/scripts/ulogger.pgsql index 7c1278a..6300830 100644 --- a/scripts/ulogger.pgsql +++ b/scripts/ulogger.pgsql @@ -134,5 +134,5 @@ INSERT INTO ol_layers (id, name, url, priority) VALUES -- The password should be changed immediatelly after installation -- Uncomment if needed -- --- INSERT INTO `users` (`id`, `login`, `password`) VALUES --- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq'); \ No newline at end of file +-- INSERT INTO users (id, login, password, admin) VALUES +-- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq', TRUE); \ No newline at end of file diff --git a/scripts/ulogger.sqlite b/scripts/ulogger.sqlite index e238128..855df21 100644 --- a/scripts/ulogger.sqlite +++ b/scripts/ulogger.sqlite @@ -128,5 +128,5 @@ INSERT INTO `ol_layers` (`id`, `name`, `url`, `priority`) VALUES -- The password should be changed immediatelly after installation -- Uncomment if needed -- --- INSERT INTO `users` (`id`, `login`, `password`) VALUES --- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq'); +-- INSERT INTO `users` (`id`, `login`, `password`, `admin`) VALUES +-- (1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq', 1);