migsql 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/migsql/app.rb +1 -1
- data/lib/migsql/sqlserver.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14e6bb1a65fc1946acc2bf9fef9985e6d2a0689f
|
4
|
+
data.tar.gz: 6a6a2ee288e7d6209db8bc056fd0f725688267db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1891f297e4a680ef9b9e99f7c9470fd28b7326c2fc2da2a279ad97abe22b7d70de0086a6bebda0c6974d6022974b89138a2ac8d92a3dfc09f6d4d64e870f7832
|
7
|
+
data.tar.gz: a42bee77948295fe1aa7c4013a895655fe4631fbb8f71420ba3a5a955089c29375c18aa0e6e8faae9500055da0887bbc98e2abfeefe642da71c90e3773efdfb3
|
data/lib/migsql/app.rb
CHANGED
@@ -36,7 +36,7 @@ class MigSql
|
|
36
36
|
migration_server = get_migration_server(argv[4])
|
37
37
|
migration_name = get_migration_target(migration_server, argv[1])
|
38
38
|
return if migration_name.nil?
|
39
|
-
migration_name = "
|
39
|
+
migration_name = "db/#{migration_server}/#{migration_name}_#{argv[2]}.sql"
|
40
40
|
@migration.apply_migration(migration_server, migration_name)\
|
41
41
|
unless migration_server.nil? || migration_name.nil?
|
42
42
|
end
|
data/lib/migsql/sqlserver.rb
CHANGED