From 18f063711a92f1743fa08cd94a540a58d54f8dcc Mon Sep 17 00:00:00 2001 From: Edouard Maffert Date: Wed, 10 Aug 2016 17:49:12 +0200 Subject: add xml to models imported from codifligne --- db/migrate/20160810132012_add_import_xml_to_lines.rb | 5 +++++ db/migrate/20160810132453_add_import_xml_to_companies.rb | 5 +++++ db/migrate/20160810132521_add_import_xml_to_networks.rb | 5 +++++ db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 db/migrate/20160810132012_add_import_xml_to_lines.rb create mode 100644 db/migrate/20160810132453_add_import_xml_to_companies.rb create mode 100644 db/migrate/20160810132521_add_import_xml_to_networks.rb create mode 100644 db/migrate/20160810132530_add_import_xml_to_group_of_lines.rb 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 -- cgit v1.2.3