create stoppedsponsorship
This commit is contained in:
parent
0a460d1d37
commit
46b906d2ac
|
@ -0,0 +1,2 @@
|
|||
class StoppedSponsorship < ApplicationRecord
|
||||
end
|
|
@ -0,0 +1,11 @@
|
|||
class CreateStoppedSponsorships < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :stopped_sponsorships do |t|
|
||||
t.integer :amount
|
||||
t.integer :sponsor_id
|
||||
t.integer :developer_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe StoppedSponsorship, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in New Issue