Added framework for Item and Employee Models

This commit is contained in:
2016-01-07 15:00:46 -05:00
parent 1a6c4c1981
commit fa230a400e
6 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
class QboEmployee < ActiveRecord::Base
unloadable
end

3
app/models/qbo_item.rb Normal file
View File

@@ -0,0 +1,3 @@
class QboItem < ActiveRecord::Base
unloadable
end

View File

@@ -0,0 +1,7 @@
class CreateQboItems < ActiveRecord::Migration
def change
create_table :qbo_items do |t|
t.string :name
end
end
end

View File

@@ -0,0 +1,7 @@
class CreateQboEmployees < ActiveRecord::Migration
def change
create_table :qbo_employees do |t|
t.string :name
end
end
end

View File

@@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class QboEmployeeTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end

View File

@@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class QboItemTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end