diff options
| author | RobertDober | 2017-04-11 08:47:46 +0200 | 
|---|---|---|
| committer | RobertDober | 2017-04-11 08:47:46 +0200 | 
| commit | 9e716807c6bbf1bb9e1c749369df1706353a77d0 (patch) | |
| tree | e6ef05adba5711f8197eefd8745300ee6b2b231d /db | |
| parent | f2c6091712be64c6017c5ffc8298692c860b593f (diff) | |
| parent | b23f6dca2395d87e2a3c0f8d8ca15303b240aef7 (diff) | |
| download | chouette-core-9e716807c6bbf1bb9e1c749369df1706353a77d0.tar.bz2 | |
Merge branch 'master' of github.com:af83/stif-boiv
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20170410134931_add_color_to_timetables.rb | 5 | ||||
| -rw-r--r-- | db/schema.rb | 3 | 
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20170410134931_add_color_to_timetables.rb b/db/migrate/20170410134931_add_color_to_timetables.rb new file mode 100644 index 000000000..c297bc537 --- /dev/null +++ b/db/migrate/20170410134931_add_color_to_timetables.rb @@ -0,0 +1,5 @@ +class AddColorToTimetables < ActiveRecord::Migration +  def change +    add_column :time_tables, :color, :string +  end +end diff --git a/db/schema.rb b/db/schema.rb index c49f52067..69e9de3bf 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@  #  # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170404122930) do +ActiveRecord::Schema.define(version: 20170410134931) do    # These are extensions that must be enabled in order to support this database    enable_extension "plpgsql" @@ -706,6 +706,7 @@ ActiveRecord::Schema.define(version: 20170404122930) do      t.integer  "calendar_id",    limit: 8      t.datetime "created_at"      t.datetime "updated_at" +    t.string   "color"    end    add_index "time_tables", ["calendar_id"], :name => "index_time_tables_on_calendar_id"  | 
