Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQLite3::SQLException: table "categories" already exists: CREATE TABLE "categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL

rake db:drop
rake db:create
rake db:migrate
Source by stackoverrun.com #
 
PREVIOUS NEXT
Tagged: #table #CREATE #TABLE #integer #PRIMARY #KEY #AUTOINCREMENT #NOT #NULL
ADD COMMENT
Topic
Name
7+7 =