From 2a837115c259192229f9320fea5042ea9aebbac3 Mon Sep 17 00:00:00 2001 From: Charlie Duso Date: Sun, 2 Oct 2016 11:58:48 -0700 Subject: [PATCH] Cleaned the README and fixed an uneven text container --- README.md | 53 +++++++++++++++++++++++++++++++++++++------------- mergeScript.py | 2 +- 2 files changed, 41 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 89a2962..1207521 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,40 @@ -# Database-Merging-SQLite3 -This repository contains a Python script to merge SQLite database files. Databases should have identical tables and identical schemas of the tables. Data entries in the databases can be different, or identical. - -Databases with mismatched tables will most likely NOT merge. - -Databases that share the same table names, but with different column names/types will most likely NOT merge. - -## Instructions -1. Make sure that you have Python 3.5.* installed. -2. Make sure that the script and the databases you wish to merge are all in the same folder. -3. Open the Python script, "mergeScript.py" in a text editor. -4. Navigate to the section of code labeled, "Input Parameters". -5. Change the value of the variable, "mainDB" with the name of your main database and its file extension. The value must be wrapped in quotes. -6. Add the names of the other databases to merge into the list variable titled, "otherDBs". Make sure that the values are wrapped in quotes and are comma separated. -7. Open up the Python terminal and run the script. +SQLite3 Database Merge Script +================================ + +[![Shippable](https://img.shields.io/shippable/5444c5ecb904a4b21567b0ff.svg?maxAge=2592000)](https://github.com/charlieduso/CS430_Project2-Raycaster#usage) + + + + + + +Usage +===== + +* Merges SQL databases that are identical in their tables and their tables' schemas. +* Databases with mismatched tables will likely NOT merge. + + + +Execution +========= + +* Open the Python script in a text editor. +* Navigate to the section of code labeled, "Input Parameters". +* Change the value of, "mainDB" to the path of your primary database. +* Add the name of the other databases to Python list variable, "otherDBs". +* Open a Python terminal and execute the script. + + + +Requirements +============ + +* Python 3.5.1 or later + + + +Authors +======= + +* Charles Duso diff --git a/mergeScript.py b/mergeScript.py index 4c23238..5001746 100644 --- a/mergeScript.py +++ b/mergeScript.py @@ -3,7 +3,7 @@ # # # @author Charles Duso # # @description Merges databases that have the same tables and schema. # -# @date August 7th, 2016 # +# @date August 7th, 2016 # ################################################################################ ############################# Import Libraries #################################