This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
create stoppedsponsorship
tags/v1
wyx
6 years ago
parent
0a460d1d37
commit
46b906d2ac
3 changed files
with
18 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/models/stopped_sponsorship.rb
+11
-0
db/migrate/20200724094030_create_stopped_sponsorships.rb
+5
-0
spec/models/stopped_sponsorship_spec.rb
+ 2
- 0
app/models/stopped_sponsorship.rb
View File
@@ -0,0 +1,2 @@
class StoppedSponsorship < ApplicationRecord
end
+ 11
- 0
db/migrate/20200724094030_create_stopped_sponsorships.rb
View File
@@ -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
+ 5
- 0
spec/models/stopped_sponsorship_spec.rb
View File
@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe StoppedSponsorship, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end
Write
Preview
Loading…
Cancel
Save