aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorMarc Florisson2015-01-21 14:35:39 +0100
committerMarc Florisson2015-01-21 14:35:39 +0100
commit7ff17fdaab62f37357d2c686c62a7b1e2898d847 (patch)
tree1306a9008a4a096538dd3f68d30c414bcb44f2e7 /db
parentb8ed9f192bf698b5aeaf045b8f2ab55f2c7500b0 (diff)
downloadchouette-core-7ff17fdaab62f37357d2c686c62a7b1e2898d847.tar.bz2
add footnote missing sources
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20150120125337_create_footnotes.ninoxe_engine.rb12
-rw-r--r--db/migrate/20150120183020_create_vehicle_journey_footnotes.ninoxe_engine.rb9
2 files changed, 21 insertions, 0 deletions
diff --git a/db/migrate/20150120125337_create_footnotes.ninoxe_engine.rb b/db/migrate/20150120125337_create_footnotes.ninoxe_engine.rb
new file mode 100644
index 000000000..ce27d4ee8
--- /dev/null
+++ b/db/migrate/20150120125337_create_footnotes.ninoxe_engine.rb
@@ -0,0 +1,12 @@
+# This migration comes from ninoxe_engine (originally 20150115153453)
+class CreateFootnotes < ActiveRecord::Migration
+ def change
+ create_table :footnotes do |t|
+ t.integer "line_id", :limit => 8
+ t.string :code
+ t.string :label
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20150120183020_create_vehicle_journey_footnotes.ninoxe_engine.rb b/db/migrate/20150120183020_create_vehicle_journey_footnotes.ninoxe_engine.rb
new file mode 100644
index 000000000..220d69d01
--- /dev/null
+++ b/db/migrate/20150120183020_create_vehicle_journey_footnotes.ninoxe_engine.rb
@@ -0,0 +1,9 @@
+# This migration comes from ninoxe_engine (originally 20150119160029)
+class CreateVehicleJourneyFootnotes < ActiveRecord::Migration
+ def change
+ create_table :footnotes_vehicle_journeys, :id => false, :force => true do |t|
+ t.integer "vehicle_journey_id", :limit => 8
+ t.integer "footnote_id", :limit => 8
+ end
+ end
+end