aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorZog2018-01-30 16:49:22 +0100
committerJohan Van Ryseghem2018-02-20 09:50:28 +0100
commit51e08724766bf2ca4837436178984c33d22cf16a (patch)
tree247dc64ac91662e22c6f953ba8e14632fc3a983c /db/migrate
parenta01519fc871e22a220157cfa8c8d6d5b5c80f5cb (diff)
downloadchouette-core-51e08724766bf2ca4837436178984c33d22cf16a.tar.bz2
Refs #5765 @6h; Add a customizable importer mechanism
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180129210928_create_simple_importers.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20180129210928_create_simple_importers.rb b/db/migrate/20180129210928_create_simple_importers.rb
new file mode 100644
index 000000000..c2a918900
--- /dev/null
+++ b/db/migrate/20180129210928_create_simple_importers.rb
@@ -0,0 +1,10 @@
+class CreateSimpleImporters < ActiveRecord::Migration
+ def change
+ create_table :simple_importers do |t|
+ t.string :configuration_name
+ t.string :filepath
+ t.string :status
+ t.json :journal
+ end
+ end
+end