added table for card_history_dates

This commit is contained in:
Patrick McDonagh
2015-12-30 07:07:12 -06:00
parent 1f61edd4fe
commit 48ca7e127a
3 changed files with 44 additions and 36 deletions

58
README
View File

@@ -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.

View File

@@ -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`) );

View File

@@ -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;