create waitlist

This commit is contained in:
wyx 2020-07-24 17:50:25 +08:00
parent 98176f839d
commit 94ad4ce56c
3 changed files with 17 additions and 0 deletions

2
app/models/waitlist.rb Normal file
View File

@ -0,0 +1,2 @@
class Waitlist < ApplicationRecord
end

View File

@ -0,0 +1,10 @@
class CreateWaitlists < ActiveRecord::Migration[5.2]
def change
create_table :waitlists do |t|
t.integer :applicant_id
t.integer :reviewer_id
t.timestamps
end
end
end

View File

@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe Waitlist, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end