mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add the miratons from the conf.o.o live instance
This commit is contained in:
parent
03a0074c73
commit
d039670de0
4 changed files with 37 additions and 10 deletions
8
db/migrate/20130515125823_change_attachment_default.rb
Normal file
8
db/migrate/20130515125823_change_attachment_default.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class ChangeAttachmentDefault < ActiveRecord::Migration
|
||||
def up
|
||||
change_column_default(:event_attachments, :public, :default => true)
|
||||
end
|
||||
def down
|
||||
change_column_default(:event_attachments, :public, :default => nil)
|
||||
end
|
||||
end
|
||||
9
db/migrate/20130515131210_drop_additional_speakers.rb
Normal file
9
db/migrate/20130515131210_drop_additional_speakers.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class DropAdditionalSpeakers < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :registrations, :additional_speakers
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :registrations, :additional_speakers
|
||||
end
|
||||
end
|
||||
11
db/migrate/20130515131420_change_venue_types.rb
Normal file
11
db/migrate/20130515131420_change_venue_types.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class ChangeVenueTypes < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :venues, :name, :text
|
||||
change_column :venues, :address, :text
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :venues, :name, :string
|
||||
change_column :venues, :address, :string
|
||||
end
|
||||
end
|
||||
19
db/schema.rb
19
db/schema.rb
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20130216122417) do
|
||||
ActiveRecord::Schema.define(:version => 20130515131420) do
|
||||
|
||||
create_table "call_for_papers", :force => true do |t|
|
||||
t.date "start_date", :null => false
|
||||
|
|
@ -91,14 +91,14 @@ ActiveRecord::Schema.define(:version => 20130216122417) do
|
|||
|
||||
create_table "event_attachments", :force => true do |t|
|
||||
t.integer "event_id"
|
||||
t.string "title", :null => false
|
||||
t.string "title", :null => false
|
||||
t.string "attachment_file_name"
|
||||
t.string "attachment_content_type"
|
||||
t.integer "attachment_file_size"
|
||||
t.datetime "attachment_updated_at"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.boolean "public"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.boolean "public", :default => false
|
||||
end
|
||||
|
||||
create_table "event_people", :force => true do |t|
|
||||
|
|
@ -171,7 +171,6 @@ ActiveRecord::Schema.define(:version => 20130216122417) do
|
|||
t.boolean "using_affiliated_lodging", :default => false
|
||||
t.datetime "arrival"
|
||||
t.datetime "departure"
|
||||
t.text "additional_speakers"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.integer "dietary_choice_id"
|
||||
|
|
@ -262,14 +261,14 @@ ActiveRecord::Schema.define(:version => 20130216122417) do
|
|||
|
||||
create_table "venues", :force => true do |t|
|
||||
t.string "guid"
|
||||
t.string "name"
|
||||
t.string "address"
|
||||
t.text "name", :limit => 255
|
||||
t.text "address", :limit => 255
|
||||
t.string "website"
|
||||
t.text "description"
|
||||
t.string "offline_map_url"
|
||||
t.string "offline_map_bounds"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
end
|
||||
|
||||
create_table "versions", :force => true do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue