Fixed Models & Migrations for setting custom IDs

This commit is contained in:
2016-01-07 20:48:14 -05:00
parent 5d04efe29c
commit 7b0538a043
7 changed files with 36 additions and 10 deletions

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