kemen_foreigner 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ module Foreigner
|
|
17
17
|
execute "alter table #{table} add constraint #{constraint_name} primary key (#{options[:column]})"
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
20
|
+
def remove_primary_key(table, column)
|
21
21
|
constraint_name = "pk_#{table}_#{options[:column]}"
|
22
22
|
execute "alter table #{table} drop constraint #{constraint_name}"
|
23
23
|
end
|
File without changes
|
metadata
CHANGED
@@ -5,21 +5,21 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
|
-
- Matthew Higgins
|
12
|
+
- Cloned by Matthew Higgins
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-25 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description:
|
22
|
-
email:
|
21
|
+
description: ""
|
22
|
+
email: ""
|
23
23
|
executables: []
|
24
24
|
|
25
25
|
extensions: []
|
@@ -37,11 +37,11 @@ files:
|
|
37
37
|
- lib/foreigner/connection_adapters/sql_2003.rb
|
38
38
|
- lib/foreigner/connection_adapters/sqlserver_adapter.rb
|
39
39
|
- lib/foreigner/schema_dumper.rb
|
40
|
-
- lib/
|
40
|
+
- lib/kemen_foreigner.rb
|
41
41
|
- test/helper.rb
|
42
42
|
- test/mysql_adapter_test.rb
|
43
43
|
has_rdoc: true
|
44
|
-
homepage:
|
44
|
+
homepage: ""
|
45
45
|
licenses: []
|
46
46
|
|
47
47
|
post_install_message:
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: 1.3.5
|
72
72
|
requirements: []
|
73
73
|
|
74
|
-
rubyforge_project:
|
74
|
+
rubyforge_project: kemen_foreigner
|
75
75
|
rubygems_version: 1.3.7
|
76
76
|
signing_key:
|
77
77
|
specification_version: 3
|