diff options
| author | Bruno Perles | 2015-10-28 11:35:08 +0100 |
|---|---|---|
| committer | Bruno Perles | 2015-10-28 11:35:08 +0100 |
| commit | 5b4136b2907ffc918210495d8f9a29c1e7d681fb (patch) | |
| tree | 6b73ff915c90d450572f5eb9599d3bc0d8938678 /db | |
| parent | 843bec92850de6f4b46498611842f894a78e7d3d (diff) | |
| download | chouette-core-5b4136b2907ffc918210495d8f9a29c1e7d681fb.tar.bz2 | |
Merge Timeband feature and revert Gemfile
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20151023101306_create_timebands.ninoxe_engine.rb | 16 | ||||
| -rw-r--r-- | db/schema.rb | 14 |
2 files changed, 29 insertions, 1 deletions
diff --git a/db/migrate/20151023101306_create_timebands.ninoxe_engine.rb b/db/migrate/20151023101306_create_timebands.ninoxe_engine.rb new file mode 100644 index 000000000..3758fdf09 --- /dev/null +++ b/db/migrate/20151023101306_create_timebands.ninoxe_engine.rb @@ -0,0 +1,16 @@ +# This migration comes from ninoxe_engine (originally 20151023083836) +class CreateTimebands < ActiveRecord::Migration + def change + create_table :timebands do |t| + t.string "objectid", :null => false + t.integer "object_version" + t.datetime "creation_time" + t.string "creator_id" + t.string :name + t.time :start_time, null: false + t.time :end_time, null: false + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 4f7945953..988693132 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: 20151022150419) do +ActiveRecord::Schema.define(version: 20151023101306) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -477,6 +477,18 @@ ActiveRecord::Schema.define(version: 20151022150419) do add_index "time_tables_vehicle_journeys", ["time_table_id"], name: "index_time_tables_vehicle_journeys_on_time_table_id", using: :btree add_index "time_tables_vehicle_journeys", ["vehicle_journey_id"], name: "index_time_tables_vehicle_journeys_on_vehicle_journey_id", using: :btree + create_table "timebands", force: true do |t| + t.string "objectid", null: false + t.integer "object_version" + t.datetime "creation_time" + t.string "creator_id" + t.string "name" + t.time "start_time", null: false + t.time "end_time", null: false + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "users", force: true do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "" |
