avo-setup 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
data/lib/avo-setup/version.rb
CHANGED
@@ -4,7 +4,7 @@ class CreateRolesMigration < ActiveRecord::Migration
|
|
4
4
|
t.string :title
|
5
5
|
t.timestamps
|
6
6
|
end
|
7
|
-
create_table :roles_<%= @
|
7
|
+
create_table :roles_<%= @migname %>, :force => true do |t|
|
8
8
|
t.integer :<%= @single %>_id
|
9
9
|
t.integer :role_id
|
10
10
|
t.timestamps
|
@@ -13,7 +13,7 @@ class CreateRolesMigration < ActiveRecord::Migration
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.down
|
16
|
-
drop_table
|
16
|
+
drop_table :<%= @migname %>
|
17
17
|
drop_table :roles
|
18
18
|
end
|
19
19
|
end
|