anonymous_active_record 0.1.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/anonymous_active_record.rb +0 -1
- data/lib/anonymous_active_record/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf823b1802ec254b166149a6f3b53df61897b66a8c961692ac7e0c3c41a42071
|
4
|
+
data.tar.gz: fe2b8826451cd454b1c19845dca4342efffa6e6a6ba6806a131f01348de8f4e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffd78380a1931f48043b7d3c2f6a6fc7b4e2f40847a6c0eba6fbf14022e8b40e8d69b4c71df98f2c00f0d00aa19b94d35f6e516ee13686bfaf6a773d62c86cb1
|
7
|
+
data.tar.gz: d81d4bcc6477de0b3b3c4f1f0a18a8511b0a4cae2e3191332806e24503e2c54fef738c1133fdb2ea8cdc48923793ff4a5a23a3885780433cac1fc9814bd64b2f
|
@@ -48,7 +48,6 @@ module AnonymousActiveRecord
|
|
48
48
|
connection_params = YAML.load_file(connection_params) if connection_params.is_a?(String)
|
49
49
|
klass.establish_connection(connection_params.dup)
|
50
50
|
klass.connection.create_table gen.table_name do |t|
|
51
|
-
t.column :text, :text
|
52
51
|
columns.each do |col|
|
53
52
|
if col.is_a?(Hash)
|
54
53
|
t.column col[:name], col[:type]
|