aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdouard Maffert2016-08-10 17:49:12 +0200
committerEdouard Maffert2016-08-10 17:49:12 +0200
commit18f063711a92f1743fa08cd94a540a58d54f8dcc (patch)
treed159ed4ca2204b5d4457be17bbe7dca7497f3119
parentb39899e26ec2ab3cba7d8f30fd02ee3d06ba01e2 (diff)
downloadchouette-core-18f063711a92f1743fa08cd94a540a58d54f8dcc.tar.bz2
add xml to models imported from codifligne
-rw-r--r--db/migrate/20160810132012_add_import_xml_to_lines.rb5
-rw-r--r--db/migrate/20160810132453_add_import_xml_to_companies.rb5
-rw-r--r--db/migrate/20160810132521_add_import_xml_to_networks.rb5
-rw-r--r--db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb5
4 files changed, 20 insertions, 0 deletions
diff --git a/db/migrate/20160810132012_add_import_xml_to_lines.rb b/db/migrate/20160810132012_add_import_xml_to_lines.rb
new file mode 100644
index 000000000..848d4b1fc
--- /dev/null
+++ b/db/migrate/20160810132012_add_import_xml_to_lines.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToLines < ActiveRecord::Migration
+ def change
+ add_column :lines, :import_xml, :text
+ end
+end
diff --git a/db/migrate/20160810132453_add_import_xml_to_companies.rb b/db/migrate/20160810132453_add_import_xml_to_companies.rb
new file mode 100644
index 000000000..bca08ec18
--- /dev/null
+++ b/db/migrate/20160810132453_add_import_xml_to_companies.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToCompanies < ActiveRecord::Migration
+ def change
+ add_column :companies, :import_xml, :text
+ end
+end
diff --git a/db/migrate/20160810132521_add_import_xml_to_networks.rb b/db/migrate/20160810132521_add_import_xml_to_networks.rb
new file mode 100644
index 000000000..2f8d2ef6e
--- /dev/null
+++ b/db/migrate/20160810132521_add_import_xml_to_networks.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToNetworks < ActiveRecord::Migration
+ def change
+ add_column :networks, :import_xml, :text
+ end
+end
diff --git a/db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb b/db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb
new file mode 100644
index 000000000..c10fae062
--- /dev/null
+++ b/db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb
@@ -0,0 +1,5 @@
+class AddImportXmlToGroupOfLines < ActiveRecord::Migration
+ def change
+ add_column :group_of_lines, :import_xml, :text
+ end
+end