parent
a07ae9be58
commit
543a199c5f
@ -0,0 +1,3 @@
|
||||
class RelativeMemoToOpenSourceProject < ActiveRecord::Base
|
||||
# attr_accessible :title, :body
|
||||
end
|
@ -0,0 +1,10 @@
|
||||
class CreateRelativeMemoToOpenSourceProjects < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :relative_memo_to_open_source_projects do |t|
|
||||
t.integer :osp_id
|
||||
t.integer :relative_memo_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
@ -0,0 +1,11 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
||||
|
||||
# This model initially had no columns defined. If you add columns to the
|
||||
# model remove the '{}' from the fixture names and add the columns immediately
|
||||
# below each fixture, per the syntax in the comments below
|
||||
#
|
||||
one: {}
|
||||
# column: value
|
||||
#
|
||||
two: {}
|
||||
# column: value
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class RelativeMemoToOpenSourceProjectTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Loading…
Reference in new issue