sequelize-rails 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel/generators/templates/migration.rb.erb +3 -6
- data/lib/sequel/rails/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: 70e996b8b359c9a17b548d9739a3c073de2e90925e2d1d03e7df9a9ab97eec20
|
4
|
+
data.tar.gz: 9050241fa762162d5f5512e453a9dbddf6225df1f2573fd99e6ef6617d1e7cc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98376659022b9357a37c8ad474f4f258aa77dd4357c3fef63e33b3e231e63d255aaefc28e98817daf207626a5126f38a847e0f8d725bd27ec7b81511622a3fdd
|
7
|
+
data.tar.gz: fb462d27082f7f01c90d6c13ac83fbc62fe707a616c717e9f25c36f810b7954932d3ece4756ac70dfd07b2662e47a90621dc04445192b1d49c4e7d4d216e881b
|
@@ -1,13 +1,10 @@
|
|
1
1
|
Sequel.migration do
|
2
|
+
transaction
|
2
3
|
up do
|
3
|
-
|
4
|
-
run File.read(File.join(File.dirname(__FILE__), "#{File.basename(__FILE__, ".rb")}_up.sql"))
|
5
|
-
end
|
4
|
+
run File.read(File.join(File.dirname(__FILE__), "#{File.basename(__FILE__, ".rb")}_up.sql"))
|
6
5
|
end
|
7
6
|
|
8
7
|
down do
|
9
|
-
|
10
|
-
run File.read(File.join(File.dirname(__FILE__), "#{File.basename(__FILE__, ".rb")}_down.sql"))
|
11
|
-
end
|
8
|
+
run File.read(File.join(File.dirname(__FILE__), "#{File.basename(__FILE__, ".rb")}_down.sql"))
|
12
9
|
end
|
13
10
|
end
|
data/lib/sequel/rails/version.rb
CHANGED