canvas_sync 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20170915210836_create_canvas_sync_job_log.rb +31 -12
- data/lib/canvas_sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85b4c05691a7952c43cb41502a994849d8d8e4df
|
4
|
+
data.tar.gz: 0bb2ad31d57f5dab79f9ee45a089b09382bf696f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c6dbc184a4aa04349c6b45d2ef9976396754fb81aa35c74f3e59f1b243d0aff54be6508f7e3a0709801ffb911400abe35ba63a9d79f82d7ac4b669c523716b7
|
7
|
+
data.tar.gz: 0b5d818adb723daa929e4562d71654f5267bcb275a45a562a73fd0b4fadbf8f4e181e71a7d0dd28540ca220161dc44732ba8184fa9ce2eee0e4a7dd035b6d115
|
@@ -1,16 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
if Rails.version.to_f >= 5.0
|
2
|
+
class CreateCanvasSyncJobLog < ActiveRecord::Migration[Rails.version.to_f]
|
3
|
+
def change
|
4
|
+
create_table :canvas_sync_job_logs do |t|
|
5
|
+
t.datetime :started_at
|
6
|
+
t.datetime :completed_at
|
7
|
+
t.string :exception
|
8
|
+
t.text :backtrace
|
9
|
+
t.string :job_class
|
10
|
+
t.string :status
|
11
|
+
t.text :metadata
|
12
|
+
t.text :job_arguments
|
12
13
|
|
13
|
-
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
else
|
19
|
+
class CreateCanvasSyncJobLog < ActiveRecord::Migration
|
20
|
+
def change
|
21
|
+
create_table :canvas_sync_job_logs do |t|
|
22
|
+
t.datetime :started_at
|
23
|
+
t.datetime :completed_at
|
24
|
+
t.string :exception
|
25
|
+
t.text :backtrace
|
26
|
+
t.string :job_class
|
27
|
+
t.string :status
|
28
|
+
t.text :metadata
|
29
|
+
t.text :job_arguments
|
30
|
+
|
31
|
+
t.timestamps
|
32
|
+
end
|
14
33
|
end
|
15
34
|
end
|
16
35
|
end
|
data/lib/canvas_sync/version.rb
CHANGED