This is my first time copying a CSV file to my Rails 4 Heroku app.
Following the steps below receives an error message.
Message received from command line:
ERROR: invalid input syntax for integer: "Employee personnel files"
CONTEXT: COPY articles, line 29, column id: "Employee personnel files"
Using this command:
PGPASSWORD=PWHERE psql -h HOSTHERE -U USERHERE DBNAMEHERE -c "\copy articles FROM 'lib/articles' WITH CSV HEADER;"
Here's a snippet of the CSV file:
line 1 "Title","Body"
line 2 "Employee personnel files","
As an HR professional you are no stranger to paperwork. It seems that for every employment action - applying, interviewing, hiring, disciplining, on and on - there is a specific form that needs to be filled out. Making sure you complete the paperwork properly is only half the battle though. Once you finish completing a form, you are faced with a whole new issue: what to do with it. Being the smarty that you are, you know that proper documentation is key in protecting your company in the unfortunate case of a lawsuit, but knowing what needs to be kept where and for how long and who can see it can be kind of tricky. Let's take a minute to go over the basics.
...
line 29 Looking for more sample polices and important forms? Click here to gain access."
Any suggestions on what is missing?