Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2011-06-04 04:35:27 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2011-06-04 04:35:27 +0400
commitde55a1cbb3c44c90442a89f5d9f0d9dce55fb884 (patch)
treeb6f2090d2ead2639fe93b7280db90ba2eb1acc83 /db
parent8841f62cf05a7a93f9c99335e3a54c454495e7da (diff)
remove remember aspects feature
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20110603233202_drop_aspects_open.rb10
-rw-r--r--db/schema.rb9
2 files changed, 14 insertions, 5 deletions
diff --git a/db/migrate/20110603233202_drop_aspects_open.rb b/db/migrate/20110603233202_drop_aspects_open.rb
new file mode 100644
index 000000000..7cef9e57e
--- /dev/null
+++ b/db/migrate/20110603233202_drop_aspects_open.rb
@@ -0,0 +1,10 @@
+class DropAspectsOpen < ActiveRecord::Migration
+ require 'db/migrate/20110202015222_add_open_to_aspects'
+ def self.up
+ AddOpenToAspects.down
+ end
+
+ def self.down
+ AddOpenToAspects.up
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 044cccfca..4ca1cb48d 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20110603212633) do
+ActiveRecord::Schema.define(:version => 20110603233202) do
create_table "aspect_memberships", :force => true do |t|
t.integer "aspect_id", :null => false
@@ -35,14 +35,13 @@ ActiveRecord::Schema.define(:version => 20110603212633) do
add_index "aspect_visibilities", ["post_id"], :name => "index_aspect_visibilities_on_post_id"
create_table "aspects", :force => true do |t|
- t.string "name", :null => false
- t.integer "user_id", :null => false
+ t.string "name", :null => false
+ t.integer "user_id", :null => false
t.datetime "created_at"
t.datetime "updated_at"
t.string "mongo_id"
t.string "user_mongo_id"
- t.boolean "contacts_visible", :default => true, :null => false
- t.boolean "open", :default => false
+ t.boolean "contacts_visible", :default => true, :null => false
end
add_index "aspects", ["mongo_id"], :name => "index_aspects_on_mongo_id"