diff --git a/app/models/broadcast_message.rb b/app/models/broadcast_message.rb index 5b0040f6ca3..a8b1db9c24e 100644 --- a/app/models/broadcast_message.rb +++ b/app/models/broadcast_message.rb @@ -1,3 +1,16 @@ +# == Schema Information +# +# Table name: broadcast_messages +# +# id :integer not null, primary key +# message :text default(""), not null +# starts_at :datetime +# ends_at :datetime +# alert_type :integer +# created_at :datetime not null +# updated_at :datetime not null +# + class BroadcastMessage < ActiveRecord::Base attr_accessible :alert_type, :ends_at, :message, :starts_at diff --git a/app/models/flowdock_service.rb b/app/models/flowdock_service.rb index 6ec431d4a10..f72d9fa9015 100644 --- a/app/models/flowdock_service.rb +++ b/app/models/flowdock_service.rb @@ -11,6 +11,8 @@ # updated_at :datetime not null # active :boolean default(FALSE), not null # project_url :string(255) +# subdomain :string(255) +# room :string(255) # require "flowdock-git-hook" diff --git a/app/models/project.rb b/app/models/project.rb index 73aa237013e..e255f13c42d 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -9,7 +9,6 @@ # created_at :datetime not null # updated_at :datetime not null # creator_id :integer -# default_branch :string(255) # issues_enabled :boolean default(TRUE), not null # wall_enabled :boolean default(TRUE), not null # merge_requests_enabled :boolean default(TRUE), not null diff --git a/app/models/user.rb b/app/models/user.rb index ce8c88ca69e..f522f9133b6 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -36,6 +36,11 @@ # notification_level :integer default(1), not null # password_expires_at :datetime # created_by_id :integer +# avatar :string(255) +# confirmation_token :string(255) +# confirmed_at :datetime +# confirmation_sent_at :datetime +# unconfirmed_email :string(255) # require 'carrierwave/orm/activerecord' diff --git a/spec/factories/broadcast_messages.rb b/spec/factories/broadcast_messages.rb index 6b649af832a..84dea945025 100644 --- a/spec/factories/broadcast_messages.rb +++ b/spec/factories/broadcast_messages.rb @@ -1,3 +1,16 @@ +# == Schema Information +# +# Table name: broadcast_messages +# +# id :integer not null, primary key +# message :text default(""), not null +# starts_at :datetime +# ends_at :datetime +# alert_type :integer +# created_at :datetime not null +# updated_at :datetime not null +# + # Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do diff --git a/spec/models/broadcast_message_spec.rb b/spec/models/broadcast_message_spec.rb index daaac73739d..998e89fa26a 100644 --- a/spec/models/broadcast_message_spec.rb +++ b/spec/models/broadcast_message_spec.rb @@ -1,3 +1,16 @@ +# == Schema Information +# +# Table name: broadcast_messages +# +# id :integer not null, primary key +# message :text default(""), not null +# starts_at :datetime +# ends_at :datetime +# alert_type :integer +# created_at :datetime not null +# updated_at :datetime not null +# + require 'spec_helper' describe BroadcastMessage do diff --git a/spec/models/flowdock_service_spec.rb b/spec/models/flowdock_service_spec.rb index b22193c9e93..636aba2f012 100644 --- a/spec/models/flowdock_service_spec.rb +++ b/spec/models/flowdock_service_spec.rb @@ -11,6 +11,8 @@ # updated_at :datetime not null # active :boolean default(FALSE), not null # project_url :string(255) +# subdomain :string(255) +# room :string(255) # require 'spec_helper' diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 88ea6926790..d5803d8cec3 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -9,7 +9,6 @@ # created_at :datetime not null # updated_at :datetime not null # creator_id :integer -# default_branch :string(255) # issues_enabled :boolean default(TRUE), not null # wall_enabled :boolean default(TRUE), not null # merge_requests_enabled :boolean default(TRUE), not null diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 66493a8d22d..8b9e0b35747 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -36,6 +36,11 @@ # notification_level :integer default(1), not null # password_expires_at :datetime # created_by_id :integer +# avatar :string(255) +# confirmation_token :string(255) +# confirmed_at :datetime +# confirmation_sent_at :datetime +# unconfirmed_email :string(255) # require 'spec_helper'