diff --git a/README b/README index 64ceddb..1758b45 100644 --- a/README +++ b/README @@ -1,30 +1,30 @@ -# HENRY PUMP POCONSOLE MODULE # -Author: Patrick McDonagh, Henry Pump -Date: 12.08.2015 - -## Building ## - -* First, run - - -``` -#!shell - -sudo raspi-config -``` - - -- Expand the filesystem and set the localization options - - cd setup - chmod +x initialSetup.sh - ./initialSetup.sh - -- When prompted, set the poconsole user password. -- Logout and log back in as poconsole - - cd setup - chmod +x setup.sh - ./setup.sh - +# HENRY PUMP POCONSOLE MODULE # +Author: Patrick McDonagh, Henry Pump +Date: 12.08.2015 + +## Building ## + +* First, run + + +``` +#!shell + +sudo raspi-config +``` + + +- Expand the filesystem and set the localization options + + cd setup + chmod +x initialSetup.sh + ./initialSetup.sh + +- When prompted, set the poconsole user password. +- Logout and log back in as poconsole + + cd setup + chmod +x setup.sh + ./setup.sh + - Grab a cup of coffee, relax, and let me handle the rest. \ No newline at end of file diff --git a/WellDataEmpty.sql b/WellDataEmpty.sql index 0ea1727..effb495 100644 --- a/WellDataEmpty.sql +++ b/WellDataEmpty.sql @@ -214,3 +214,11 @@ CREATE TABLE `WellData`.`fluid_shot` ( `Downhole_Load` blob, PRIMARY KEY (`id`,`Card_ID`) ); + +CREATE TABLE `WellData`.`card_history_dates` ( + `id` INT NOT NULL AUTO_INCREMENT , + `year` INT NULL , + `month` INT NULL , + `day` INT NULL , + `first_id` INT NULL , + PRIMARY KEY (`id`) ); diff --git a/setupUsers.sql b/setupUsers.sql index ad972bd..e41ecc0 100644 --- a/setupUsers.sql +++ b/setupUsers.sql @@ -1,7 +1,7 @@ -CREATE USER 'website'@'localhost' IDENTIFIED BY 'henrypump'; -GRANT ALL ON *.* TO 'website'@'localhost'; -CREATE USER 'admin'@'localhost' IDENTIFIED BY 'henrypump'; -GRANT ALL ON *.* to 'admin'@'localhost'; -CREATE USER 'admin'@'%' IDENTIFIED BY 'henrypump'; -GRANT ALL ON *.* to 'admin'@'%'; -FLUSH PRIVILEGES; +CREATE USER 'website'@'localhost' IDENTIFIED BY 'henrypump'; +GRANT ALL ON *.* TO 'website'@'localhost'; +CREATE USER 'admin'@'localhost' IDENTIFIED BY 'henrypump'; +GRANT ALL ON *.* to 'admin'@'localhost'; +CREATE USER 'admin'@'%' IDENTIFIED BY 'henrypump'; +GRANT ALL ON *.* to 'admin'@'%'; +FLUSH PRIVILEGES;