diff options
| author | mo khan <mo@mokhan.ca> | 2017-01-26 09:56:50 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2017-01-26 09:56:50 -0700 |
| commit | 9fa05b16245358581ed85ac1c308c6ce2cee6e0a (patch) | |
| tree | fe6235af51b76d69e18e218067281d9449a9babf /Rakefile | |
| parent | 8ec14688124a4e3f65d916301f6994a26cfc324a (diff) | |
parallize seed data insertion.
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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` |
