db_patch 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b7da414fc5f4f8d2d80d10c594f1e3ffc798221
4
- data.tar.gz: 97f618f6b6f93c2e897f80c4565ddf8220e910e2
3
+ metadata.gz: 2e5f58bb8c278dcd892364ca8d02e6acc80035e2
4
+ data.tar.gz: 89218b7ad9bd7ff6d08b734b7b687d0b265253e7
5
5
  SHA512:
6
- metadata.gz: 3dcab84d845670d1ad50d76143ed523bd987280c6f8e80f9851ffd77d67a1a303702dbdc6cf22dd7e5566c847141c865d0418ab874608e842c2ae10d68f9c593
7
- data.tar.gz: b9715beb5c346c0030de473c7e6357dc9b817ffd399a860158d8fb09c9826913f10e66fc0f17f3164bf7a4c06332316def307ed90bb69a45679561ecd6642c45
6
+ metadata.gz: b451135db31f6e7d1e7d3399f32e978741807f3b19356a6bd2eef795619e26adb3da503e818e18af8240a454e7cb34ccbacfd2f5cf0fcd43e51d0ece9cef6e89
7
+ data.tar.gz: b6bd39f92753e9271c6ceb2f17599ae81f8560c35db36242c647a9df0bd49cbeae4dfddad85f0a56f5314ffbebf79c3a61af9f39103029bba78f66d62b7d9a8a
@@ -5,6 +5,7 @@ module DbPatch
5
5
  def self.up
6
6
  create_table :patch_versions do |t|
7
7
  t.string :version
8
+ t.timestamps
8
9
  end
9
10
 
10
11
  add_index :patch_versions, :version, :unique => true
@@ -1,3 +1,3 @@
1
1
  module DbPatch
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -28,7 +28,7 @@ namespace :db do
28
28
  end
29
29
 
30
30
 
31
- desc "execute path"
31
+ desc "execute patch"
32
32
  task :execute => :environment do
33
33
  patches = Dir.glob("#{patch_root}/*.rb")
34
34
  patches.each do |patch|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto Ogi