blob: 6ea7d2f003580376788b46ddd4460f031b333c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class DropPermissions < ActiveRecord::Migration[8.1]
def up
drop_table :permissions
end
# Reversible for form's sake -- the table was empty and every write path
# in the model was broken, so there is nothing to restore.
def down
create_table :permissions, :id => :serial do |t|
t.boolean :granted
t.integer :node_id
t.integer :user_id
t.datetime :created_at, :precision => nil
t.datetime :updated_at, :precision => nil
end
end
end
|