aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161117104301_add_transport_submode_to_lines.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20161117104301_add_transport_submode_to_lines.rb b/db/migrate/20161117104301_add_transport_submode_to_lines.rb
new file mode 100644
index 000000000..e652dc190
--- /dev/null
+++ b/db/migrate/20161117104301_add_transport_submode_to_lines.rb
@@ -0,0 +1,5 @@
+class AddTransportSubmodeToLines < ActiveRecord::Migration
+ def change
+ add_column :lines, :transport_submode, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 035856060..4a3fd73c7 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: 20161116130958) do
+ActiveRecord::Schema.define(version: 20161117104301) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -348,6 +348,7 @@ ActiveRecord::Schema.define(version: 20161116130958) do
t.integer "line_referential_id"
t.boolean "deactivated", default: false
t.text "import_xml"
+ t.string "transport_submode"
end
add_index "lines", ["line_referential_id"], :name => "index_lines_on_line_referential_id"