mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
create passedlist
This commit is contained in:
2
app/models/passed_waitlist.rb
Normal file
2
app/models/passed_waitlist.rb
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
class PassedWaitlist < ApplicationRecord
|
||||||
|
end
|
||||||
12
db/migrate/20200724095057_create_passed_waitlists.rb
Normal file
12
db/migrate/20200724095057_create_passed_waitlists.rb
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
class CreatePassedWaitlists < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
create_table :passed_waitlists do |t|
|
||||||
|
t.string :applicant_id
|
||||||
|
t.string :integer
|
||||||
|
t.string :reviewer_id
|
||||||
|
t.string :integer
|
||||||
|
|
||||||
|
t.timestamps
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
5
spec/models/passed_waitlist_spec.rb
Normal file
5
spec/models/passed_waitlist_spec.rb
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe PassedWaitlist, type: :model do
|
||||||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user