Fixed Models & Migrations for setting custom IDs

This commit is contained in:
ricky committed 2016-01-07 20:48:14 -05:00
1 parent 5d04efe29c
commit 7b0538a043
7 files changed
+36 -10

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@
class CreateQboCustomers < ActiveRecord::Migration
def change
create_table :qbo_customers do |t|
create_table :qbo_customers, id: false do |t|
t.integer :id, :options => 'PRIMARY KEY'
t.string :name
end
end