mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
Adds color to event types
This commit is contained in:
parent
e34a972b74
commit
bf4758a54a
5 changed files with 15 additions and 1 deletions
5
db/migrate/20140612141123_add_color_to_event_type.rb
Normal file
5
db/migrate/20140612141123_add_color_to_event_type.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddColorToEventType < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :event_types, :color, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -155,6 +155,7 @@ ActiveRecord::Schema.define(version: 20140612181230) do
|
|||
t.integer "length", default: 30
|
||||
t.integer "minimum_abstract_length", default: 0
|
||||
t.integer "maximum_abstract_length", default: 500
|
||||
t.string "color"
|
||||
end
|
||||
|
||||
create_table "events", force: true do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue