Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,21 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: booths
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# logo_link :string
|
||||
# reasoning :text
|
||||
# state :string
|
||||
# submitter_relationship :text
|
||||
# title :string
|
||||
# website_url :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Booth do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: cfps
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# cfp_type :string
|
||||
# description :text
|
||||
# enable_registrations :boolean default(FALSE)
|
||||
# end_date :date not null
|
||||
# start_date :date not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# program_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Cfp do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,28 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: comments
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# body :text
|
||||
# commentable_type :string
|
||||
# lft :integer
|
||||
# rgt :integer
|
||||
# subject :string
|
||||
# title :string(50) default("")
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# commentable_id :integer
|
||||
# parent_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_comments_on_commentable_id (commentable_id)
|
||||
# index_comments_on_commentable_type (commentable_type)
|
||||
# index_comments_on_user_id (user_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Commercial do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: commercials
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# commercial_type :string
|
||||
# commercialable_type :string
|
||||
# url :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# commercial_id :string
|
||||
# commercialable_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Commercial do
|
||||
|
|
|
|||
|
|
@ -1,6 +1,42 @@
|
|||
#!/bin/env ruby
|
||||
# encoding: utf-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: conferences
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# booth_limit :integer default(0)
|
||||
# color :string
|
||||
# custom_css :text
|
||||
# custom_domain :string
|
||||
# description :text
|
||||
# end_date :date not null
|
||||
# end_hour :integer default(20)
|
||||
# events_per_week :text
|
||||
# guid :string not null
|
||||
# logo_file_name :string
|
||||
# picture :string
|
||||
# registration_limit :integer default(0)
|
||||
# revision :integer default(0), not null
|
||||
# short_title :string not null
|
||||
# start_date :date not null
|
||||
# start_hour :integer default(9)
|
||||
# ticket_layout :integer default("portrait")
|
||||
# timezone :string not null
|
||||
# title :string not null
|
||||
# use_vdays :boolean default(FALSE)
|
||||
# use_volunteers :boolean
|
||||
# use_vpositions :boolean default(FALSE)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# organization_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_conferences_on_organization_id (organization_id)
|
||||
#
|
||||
#!/bin/env ruby
|
||||
require 'spec_helper'
|
||||
|
||||
describe Conference do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,50 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: email_settings
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# accepted_body :text
|
||||
# accepted_subject :string
|
||||
# booths_acceptance_body :text
|
||||
# booths_acceptance_subject :string
|
||||
# booths_rejection_body :text
|
||||
# booths_rejection_subject :string
|
||||
# cfp_dates_updated_body :text
|
||||
# cfp_dates_updated_subject :string
|
||||
# conference_dates_updated_body :text
|
||||
# conference_dates_updated_subject :string
|
||||
# conference_registration_dates_updated_body :text
|
||||
# conference_registration_dates_updated_subject :string
|
||||
# confirmed_without_registration_body :text
|
||||
# confirmed_without_registration_subject :string
|
||||
# program_schedule_public_body :text
|
||||
# program_schedule_public_subject :string
|
||||
# registration_body :text
|
||||
# registration_subject :string
|
||||
# rejected_body :text
|
||||
# rejected_subject :string
|
||||
# send_on_accepted :boolean default(FALSE)
|
||||
# send_on_booths_acceptance :boolean default(FALSE)
|
||||
# send_on_booths_rejection :boolean default(FALSE)
|
||||
# send_on_cfp_dates_updated :boolean default(FALSE)
|
||||
# send_on_conference_dates_updated :boolean default(FALSE)
|
||||
# send_on_conference_registration_dates_updated :boolean default(FALSE)
|
||||
# send_on_confirmed_without_registration :boolean default(FALSE)
|
||||
# send_on_program_schedule_public :boolean default(FALSE)
|
||||
# send_on_registration :boolean default(FALSE)
|
||||
# send_on_rejected :boolean default(FALSE)
|
||||
# send_on_submitted_proposal :boolean default(FALSE)
|
||||
# send_on_venue_updated :boolean default(FALSE)
|
||||
# submitted_proposal_body :text
|
||||
# submitted_proposal_subject :string
|
||||
# venue_updated_body :text
|
||||
# venue_updated_subject :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe EmailSettings do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,25 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: event_schedules
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# enabled :boolean default(TRUE)
|
||||
# start_time :datetime
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# event_id :integer
|
||||
# room_id :integer
|
||||
# schedule_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_event_schedules_on_event_id (event_id)
|
||||
# index_event_schedules_on_event_id_and_schedule_id (event_id,schedule_id) UNIQUE
|
||||
# index_event_schedules_on_room_id (room_id)
|
||||
# index_event_schedules_on_schedule_id (schedule_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe EventSchedule do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,34 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: events
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# abstract :text
|
||||
# comments_count :integer default(0), not null
|
||||
# description :text
|
||||
# guid :string not null
|
||||
# is_highlight :boolean default(FALSE)
|
||||
# language :string
|
||||
# max_attendees :integer
|
||||
# progress :string default("new"), not null
|
||||
# proposal_additional_speakers :text
|
||||
# public :boolean default(TRUE)
|
||||
# require_registration :boolean
|
||||
# start_time :datetime
|
||||
# state :string default("new"), not null
|
||||
# subtitle :string
|
||||
# title :string not null
|
||||
# week :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# difficulty_level_id :integer
|
||||
# event_type_id :integer
|
||||
# program_id :integer
|
||||
# room_id :integer
|
||||
# track_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Event do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: event_types
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# color :string
|
||||
# description :string
|
||||
# length :integer default(30)
|
||||
# maximum_abstract_length :integer default(500)
|
||||
# minimum_abstract_length :integer default(0)
|
||||
# title :string not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# program_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe EventType do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: organizations
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# code_of_conduct :text
|
||||
# description :text
|
||||
# name :string not null
|
||||
# picture :string
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Organization do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: payments
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# amount :integer
|
||||
# authorization_code :string
|
||||
# last4 :string
|
||||
# status :integer default("unpaid"), not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# conference_id :integer not null
|
||||
# user_id :integer not null
|
||||
#
|
||||
require 'spec_helper'
|
||||
require 'stripe_mock'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: physical_tickets
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# token :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# ticket_purchase_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_physical_tickets_on_token (token) UNIQUE
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe PhysicalTicket do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,27 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: programs
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# blind_voting :boolean default(FALSE)
|
||||
# languages :string
|
||||
# rating :integer default(0)
|
||||
# schedule_fluid :boolean default(FALSE)
|
||||
# schedule_interval :integer default(15), not null
|
||||
# schedule_public :boolean default(FALSE)
|
||||
# voting_end_date :datetime
|
||||
# voting_start_date :datetime
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
# selected_schedule_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_programs_on_selected_schedule_id (selected_schedule_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Program do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: registration_periods
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# end_date :date
|
||||
# start_date :date
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe RegistrationPeriod do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: registrations
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# accepted_code_of_conduct :boolean
|
||||
# attended :boolean default(FALSE)
|
||||
# other_special_needs :text
|
||||
# volunteer :boolean
|
||||
# week :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Registration do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: resources
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# name :string
|
||||
# quantity :integer
|
||||
# used :integer default(0)
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Resource do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: roles
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :string
|
||||
# name :string
|
||||
# resource_type :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# resource_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_roles_on_name (name)
|
||||
# index_roles_on_name_and_resource_type_and_resource_id (name,resource_type,resource_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Role do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: rooms
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# guid :string not null
|
||||
# name :string not null
|
||||
# order :integer
|
||||
# size :integer
|
||||
# url :string
|
||||
# venue_id :integer not null
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Room do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: schedules
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# program_id :integer
|
||||
# track_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_schedules_on_program_id (program_id)
|
||||
# index_schedules_on_track_id (track_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Schedule do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: sponsors
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# logo_file_name :string
|
||||
# name :string
|
||||
# picture :string
|
||||
# website_url :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
# sponsorship_level_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Sponsor do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: sponsorship_levels
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# position :integer
|
||||
# title :string
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe SponsorshipLevel do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: survey_questions
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# kind :integer default("boolean")
|
||||
# mandatory :boolean default(FALSE)
|
||||
# max_choices :integer
|
||||
# min_choices :integer
|
||||
# possible_answers :text
|
||||
# title :string
|
||||
# survey_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe SurveyQuestion do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: survey_replies
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# text :text
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# survey_question_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe SurveyReply do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,24 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: surveys
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# end_date :datetime
|
||||
# start_date :datetime
|
||||
# surveyable_type :string
|
||||
# target :integer default("after_conference")
|
||||
# title :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# surveyable_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_surveys_on_surveyable_type_and_surveyable_id (surveyable_type,surveyable_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Survey do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: survey_submissions
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# survey_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe SurveySubmission do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: ticket_purchases
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# amount_paid :float default(0.0)
|
||||
# paid :boolean default(FALSE)
|
||||
# quantity :integer default(1)
|
||||
# week :integer
|
||||
# created_at :datetime
|
||||
# conference_id :integer
|
||||
# payment_id :integer
|
||||
# ticket_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe TicketPurchase do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: ticket_scannings
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# physical_ticket_id :integer not null
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe TicketScanning do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: tickets
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# price_cents :integer default(0), not null
|
||||
# price_currency :string default("USD"), not null
|
||||
# registration_ticket :boolean default(FALSE)
|
||||
# title :string not null
|
||||
# visible :boolean default(TRUE)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# conference_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Ticket do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,33 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: tracks
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# cfp_active :boolean not null
|
||||
# color :string
|
||||
# description :text
|
||||
# end_date :date
|
||||
# guid :string not null
|
||||
# name :string not null
|
||||
# relevance :text
|
||||
# short_name :string not null
|
||||
# start_date :date
|
||||
# state :string default("new"), not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# program_id :integer
|
||||
# room_id :integer
|
||||
# selected_schedule_id :integer
|
||||
# submitter_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_tracks_on_room_id (room_id)
|
||||
# index_tracks_on_selected_schedule_id (selected_schedule_id)
|
||||
# index_tracks_on_submitter_id (submitter_id)
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Track do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,51 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: users
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# affiliation :string
|
||||
# avatar_content_type :string
|
||||
# avatar_file_name :string
|
||||
# avatar_file_size :integer
|
||||
# avatar_updated_at :datetime
|
||||
# biography :text
|
||||
# confirmation_sent_at :datetime
|
||||
# confirmation_token :string
|
||||
# confirmed_at :datetime
|
||||
# current_sign_in_at :datetime
|
||||
# current_sign_in_ip :string
|
||||
# email :string default(""), not null
|
||||
# email_public :boolean default(FALSE)
|
||||
# encrypted_password :string default(""), not null
|
||||
# is_admin :boolean default(FALSE)
|
||||
# is_disabled :boolean default(FALSE)
|
||||
# languages :string
|
||||
# last_sign_in_at :datetime
|
||||
# last_sign_in_ip :string
|
||||
# mobile :string
|
||||
# name :string
|
||||
# nickname :string
|
||||
# picture :string
|
||||
# remember_created_at :datetime
|
||||
# reset_password_sent_at :datetime
|
||||
# reset_password_token :string
|
||||
# sign_in_count :integer default(0)
|
||||
# tshirt :string
|
||||
# unconfirmed_email :string
|
||||
# username :string
|
||||
# volunteer_experience :text
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_users_on_confirmation_token (confirmation_token) UNIQUE
|
||||
# index_users_on_email (email) UNIQUE
|
||||
# index_users_on_reset_password_token (reset_password_token) UNIQUE
|
||||
# index_users_on_username (username) UNIQUE
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe User do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: votes
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# rating :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# event_id :integer
|
||||
# user_id :integer
|
||||
#
|
||||
require 'spec_helper'
|
||||
|
||||
describe Vote do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue