added table for card_history_dates
This commit is contained in:
58
README
58
README
@@ -1,30 +1,30 @@
|
|||||||
# HENRY PUMP POCONSOLE MODULE #
|
# HENRY PUMP POCONSOLE MODULE #
|
||||||
Author: Patrick McDonagh, Henry Pump
|
Author: Patrick McDonagh, Henry Pump
|
||||||
Date: 12.08.2015
|
Date: 12.08.2015
|
||||||
|
|
||||||
## Building ##
|
## Building ##
|
||||||
|
|
||||||
* First, run
|
* First, run
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
#!shell
|
#!shell
|
||||||
|
|
||||||
sudo raspi-config
|
sudo raspi-config
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
- Expand the filesystem and set the localization options
|
- Expand the filesystem and set the localization options
|
||||||
|
|
||||||
cd setup
|
cd setup
|
||||||
chmod +x initialSetup.sh
|
chmod +x initialSetup.sh
|
||||||
./initialSetup.sh
|
./initialSetup.sh
|
||||||
|
|
||||||
- When prompted, set the poconsole user password.
|
- When prompted, set the poconsole user password.
|
||||||
- Logout and log back in as poconsole
|
- Logout and log back in as poconsole
|
||||||
|
|
||||||
cd setup
|
cd setup
|
||||||
chmod +x setup.sh
|
chmod +x setup.sh
|
||||||
./setup.sh
|
./setup.sh
|
||||||
|
|
||||||
- Grab a cup of coffee, relax, and let me handle the rest.
|
- Grab a cup of coffee, relax, and let me handle the rest.
|
||||||
@@ -214,3 +214,11 @@ CREATE TABLE `WellData`.`fluid_shot` (
|
|||||||
`Downhole_Load` blob,
|
`Downhole_Load` blob,
|
||||||
PRIMARY KEY (`id`,`Card_ID`)
|
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`) );
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
CREATE USER 'website'@'localhost' IDENTIFIED BY 'henrypump';
|
CREATE USER 'website'@'localhost' IDENTIFIED BY 'henrypump';
|
||||||
GRANT ALL ON *.* TO 'website'@'localhost';
|
GRANT ALL ON *.* TO 'website'@'localhost';
|
||||||
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'henrypump';
|
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'henrypump';
|
||||||
GRANT ALL ON *.* to 'admin'@'localhost';
|
GRANT ALL ON *.* to 'admin'@'localhost';
|
||||||
CREATE USER 'admin'@'%' IDENTIFIED BY 'henrypump';
|
CREATE USER 'admin'@'%' IDENTIFIED BY 'henrypump';
|
||||||
GRANT ALL ON *.* to 'admin'@'%';
|
GRANT ALL ON *.* to 'admin'@'%';
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
|
|||||||
Reference in New Issue
Block a user