Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(130)

Unified Diff: db/migrate/003_admin_flag_and_settings_table.rb

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: db/migrate/003_admin_flag_and_settings_table.rb
===================================================================
--- db/migrate/003_admin_flag_and_settings_table.rb (revision 36)
+++ db/migrate/003_admin_flag_and_settings_table.rb (working copy)
@@ -1,14 +0,0 @@
-class AdminFlagAndSettingsTable < ActiveRecord::Migration
- def self.up
- add_column :users, :admin, :boolean
- create_table :settings do |t|
- t.column :name, :string
- t.column :value, :text
- end
- end
-
- def self.down
- drop_table :settings
- remove_column :users, :admin
- end
-end

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497