Add Committee Review Text Column
This commit is contained in:
parent
d067221f57
commit
4d067add46
8 changed files with 7 additions and 3 deletions
|
|
@ -14,7 +14,6 @@
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
# program_id :integer
|
# program_id :integer
|
||||||
#
|
#
|
||||||
# cannot delete program if there are events submitted
|
|
||||||
|
|
||||||
class Cfp < ApplicationRecord
|
class Cfp < ApplicationRecord
|
||||||
TYPES = %w(events booths tracks).freeze
|
TYPES = %w(events booths tracks).freeze
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# abstract :text
|
# abstract :text
|
||||||
# comments_count :integer default(0), not null
|
# comments_count :integer default(0), not null
|
||||||
|
# committee_review :text
|
||||||
# description :text
|
# description :text
|
||||||
# guid :string not null
|
# guid :string not null
|
||||||
# is_highlight :boolean default(FALSE)
|
# is_highlight :boolean default(FALSE)
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
#
|
#
|
||||||
# index_programs_on_selected_schedule_id (selected_schedule_id)
|
# index_programs_on_selected_schedule_id (selected_schedule_id)
|
||||||
#
|
#
|
||||||
# cannot delete program if there are events submitted
|
|
||||||
|
|
||||||
class Program < ApplicationRecord
|
class Program < ApplicationRecord
|
||||||
has_paper_trail on: [:update], ignore: [:updated_at], meta: { conference_id: :conference_id }
|
has_paper_trail on: [:update], ignore: [:updated_at], meta: { conference_id: :conference_id }
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# abstract :text
|
# abstract :text
|
||||||
# comments_count :integer default(0), not null
|
# comments_count :integer default(0), not null
|
||||||
|
# committee_review :text
|
||||||
# description :text
|
# description :text
|
||||||
# guid :string not null
|
# guid :string not null
|
||||||
# is_highlight :boolean default(FALSE)
|
# is_highlight :boolean default(FALSE)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2020_07_16_181602) do
|
ActiveRecord::Schema.define(version: 2021_03_03_052026) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|
@ -257,6 +257,7 @@ ActiveRecord::Schema.define(version: 2020_07_16_181602) do
|
||||||
t.integer "program_id"
|
t.integer "program_id"
|
||||||
t.integer "max_attendees"
|
t.integer "max_attendees"
|
||||||
t.integer "comments_count", default: 0, null: false
|
t.integer "comments_count", default: 0, null: false
|
||||||
|
t.text "committee_review"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "events_registrations", force: :cascade do |t|
|
create_table "events_registrations", force: :cascade do |t|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# abstract :text
|
# abstract :text
|
||||||
# comments_count :integer default(0), not null
|
# comments_count :integer default(0), not null
|
||||||
|
# committee_review :text
|
||||||
# description :text
|
# description :text
|
||||||
# guid :string not null
|
# guid :string not null
|
||||||
# is_highlight :boolean default(FALSE)
|
# is_highlight :boolean default(FALSE)
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# abstract :text
|
# abstract :text
|
||||||
# comments_count :integer default(0), not null
|
# comments_count :integer default(0), not null
|
||||||
|
# committee_review :text
|
||||||
# description :text
|
# description :text
|
||||||
# guid :string not null
|
# guid :string not null
|
||||||
# is_highlight :boolean default(FALSE)
|
# is_highlight :boolean default(FALSE)
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# abstract :text
|
# abstract :text
|
||||||
# comments_count :integer default(0), not null
|
# comments_count :integer default(0), not null
|
||||||
|
# committee_review :text
|
||||||
# description :text
|
# description :text
|
||||||
# guid :string not null
|
# guid :string not null
|
||||||
# is_highlight :boolean default(FALSE)
|
# is_highlight :boolean default(FALSE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue