aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorXinhui2017-02-22 16:04:53 +0100
committerXinhui2017-02-22 16:04:53 +0100
commit77d4aca6f3328e7918077e7f6c32462cf95caa84 (patch)
tree1ea07d2e34fc3f07a177c12c243765294f7b1926 /db/schema.rb
parentb88cd552930099714000393584355c314f045cb6 (diff)
parent15e221c2fe06ebd6ca18d7a392ab05f95b59be74 (diff)
downloadchouette-core-77d4aca6f3328e7918077e7f6c32462cf95caa84.tar.bz2
Merge branch 'refactoring_import'
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb39
1 files changed, 38 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index d91db0968..0dcd5457c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,8 +11,8 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20170215163027) do
+ActiveRecord::Schema.define(version: 20170215163027) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "postgis"
@@ -243,6 +243,43 @@ ActiveRecord::Schema.define(version: 20170215163027) do
t.integer "line_id", limit: 8
end
+ create_table "import_messages", force: true do |t|
+ t.integer "criticity"
+ t.string "message_key"
+ t.hstore "message_attributs"
+ t.integer "import_id"
+ t.integer "resource_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "import_messages", ["import_id"], :name => "index_import_messages_on_import_id"
+ add_index "import_messages", ["resource_id"], :name => "index_import_messages_on_resource_id"
+
+ create_table "import_resources", force: true do |t|
+ t.integer "import_id"
+ t.string "status"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "import_resources", ["import_id"], :name => "index_import_resources_on_import_id"
+
+ create_table "imports", force: true do |t|
+ t.string "status"
+ t.string "current_step_id"
+ t.float "current_step_progress"
+ t.integer "workbench_id"
+ t.integer "referential_id"
+ t.string "name"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.string "file"
+ end
+
+ add_index "imports", ["referential_id"], :name => "index_imports_on_referential_id"
+ add_index "imports", ["workbench_id"], :name => "index_imports_on_workbench_id"
+
create_table "journey_frequencies", force: true do |t|
t.integer "vehicle_journey_id", limit: 8
t.time "scheduled_headway_interval", null: false