summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2017-01-26 09:56:50 -0700
committermo khan <mo@mokhan.ca>2017-01-26 09:56:50 -0700
commit9fa05b16245358581ed85ac1c308c6ce2cee6e0a (patch)
treefe6235af51b76d69e18e218067281d9449a9babf /Rakefile
parent8ec14688124a4e3f65d916301f6994a26cfc324a (diff)
parallize seed data insertion.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Rakefile b/Rakefile
index 1093661..e767dae 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,13 +5,6 @@ Bundler.require(:default)
DATABASE_NAME = 'sql_bootcamp'
DATABASE = Sequel.connect("mysql2://root@localhost/#{DATABASE_NAME}")
-#| BUSINESSES | | COMPUTERS | | EVENTS | |
-#| id | int | id | int | id | int |
-#| name | varchar(255) | active | tinyint | computer_id | int |
-#| business_relationship_id | int | business_id | int | occurred_at | datetime |
-#| | | | | type | varchar(255) |
-#| | | | | data | text |
-
namespace :db do
def pipe_to_mysql(command)
`echo "#{command}" | mysql -u root`