provideal-migration-helpers 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/provideal_migration_helpers.rb +1 -1
- data/provideal-migration-helpers.gemspec +5 -4
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
@@ -19,7 +19,7 @@ module Provideal
|
|
19
19
|
from_columns = [from_columns] unless from_columns.is_a? Array
|
20
20
|
constraint_name = "fk_#{from_table}_#{from_columns.join('_')}"
|
21
21
|
|
22
|
-
sql = "ALTER TABLE #{from_table} DROP
|
22
|
+
sql = "ALTER TABLE #{from_table} DROP FOREIGN KEY #{constraint_name}"
|
23
23
|
execute sql
|
24
24
|
end
|
25
25
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{provideal-migration-helpers}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ren\303\251 Sprotte"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-11-28}
|
13
13
|
s.email = %q{info@provideal.net}
|
14
14
|
s.files = [
|
15
15
|
".gitignore",
|
@@ -35,3 +35,4 @@ Gem::Specification.new do |s|
|
|
35
35
|
else
|
36
36
|
end
|
37
37
|
end
|
38
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: provideal-migration-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Ren\xC3\xA9 Sprotte"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-28 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|