summaryrefslogtreecommitdiffstats
path: root/db/migrate/001_setup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/001_setup.rb')
-rw-r--r--db/migrate/001_setup.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/migrate/001_setup.rb b/db/migrate/001_setup.rb
index f1b9c1ed4..3cea13591 100644
--- a/db/migrate/001_setup.rb
+++ b/db/migrate/001_setup.rb
@@ -17,7 +17,10 @@
class Setup < ActiveRecord::Migration
- class User < ActiveRecord::Base; end
+ class User < ActiveRecord::Base
+ attr_protected :id
+ end
+
# model removed
class Permission < ActiveRecord::Base; end