aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-03 00:10:38 +0200
committerMateja <mail@matejamaric.com>2020-10-03 00:10:38 +0200
commit1e44886d6f53d5bb9621211810fdea247f7fbd71 (patch)
tree07067f1313123908121bac92c8cd0a86f5e98f43 /test
parente01eaf5fe114f47f58ddcd81242af786ee06d425 (diff)
downloadold-php-yota-1e44886d6f53d5bb9621211810fdea247f7fbd71.tar.gz
old-php-yota-1e44886d6f53d5bb9621211810fdea247f7fbd71.zip
moved notes
Diffstat (limited to 'test')
-rw-r--r--test/notes.sql27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/notes.sql b/test/notes.sql
new file mode 100644
index 0000000..dd59770
--- /dev/null
+++ b/test/notes.sql
@@ -0,0 +1,27 @@
+CREATE DATABASE yota_db;
+USE yota_db;
+
+CREATE TABLE activities(
+ `id` int(11) not null auto_increment primary key,
+ `approved` boolean not null default false;
+ `specialCall` varchar(50) not null,
+ `fromTime` datetime not null,
+ `toTime` datetime not null,
+ `frequencies` varchar(255) not null,
+ `modes` varchar(255) not null,
+ `operatorCall` varchar(50) not null,
+ `operatorName` varchar(50) not null,
+ `operatorEmail` varchar(100) not null,
+ `operatorPhone` varchar(50) not null
+ `qso` int not null default 0;
+ ) charset=utf8;
+
+CREATE TABLE admins(
+ `id` int(11) not null auto_increment primary key,
+ `email` varchar(100) not null,
+ `password` varchar(255) not null
+ ) charset=utf8;
+
+GRANT ALL PRIVILEGES ON `yota_db`.* TO `yota_admin`@`localhost` IDENTIFIED BY 'quaequaquagh6ahwoh6Chahx1EiFooGh';
+GRANT SELECT ON `yota_db`.* TO `yota_user`@`localhost` IDENTIFIED BY 'gahdeer6shai9hogai2sai4quuaj1eVu';
+GRANT INSERT ON `yota_db`.`activities` TO `yota_requester`@`localhost` IDENTIFIED BY 'oon5iraeghaidoShi5sheefie2uuz3gu';