magic_recipes 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/magic_recipes/db.rb +6 -0
  2. metadata +1 -1
@@ -46,6 +46,12 @@ module MagicRecipes
46
46
  # => ActiveRecord::Base.connection.tables.each { |t| ActiveRecord::Base.connection.drop_table t }
47
47
  end
48
48
 
49
+ desc "DB-Reset for user without dbcreate permission (deletes all tables than migrates again)"
50
+ task :save_reset do
51
+ delete_tables
52
+ migrate
53
+ end
54
+
49
55
  end
50
56
 
51
57
  # eof
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: