Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

story-status-model-migration-run

Run your modified migration:

    $ rake db:migrate

That's it. The page to manage the story statuses should appear in the main navigation.

Now that we've got more structured statuses, let's do something with them...
  • Loading branch information...
commit bdccf92653096c39776d271fda607b1b54884c52 1 parent 6f2b13f
Bryan Larsen authored February 19, 2010

Showing 1 changed file with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. 11  db/schema.rb
11  db/schema.rb
@@ -11,7 +11,7 @@
11 11
 #
12 12
 # It's strongly recommended to check this file into your version control system.
13 13
 
14  
-ActiveRecord::Schema.define(:version => 20110309193957) do
  14
+ActiveRecord::Schema.define(:version => 20110418140729) do
15 15
 
16 16
   create_table "projects", :force => true do |t|
17 17
     t.string   "name"
@@ -22,13 +22,20 @@
22 22
   create_table "stories", :force => true do |t|
23 23
     t.string   "title"
24 24
     t.text     "body"
25  
-    t.string   "status"
26 25
     t.datetime "created_at"
27 26
     t.datetime "updated_at"
28 27
     t.integer  "project_id"
  28
+    t.integer  "status_id"
29 29
   end
30 30
 
31 31
   add_index "stories", ["project_id"], :name => "index_stories_on_project_id"
  32
+  add_index "stories", ["status_id"], :name => "index_stories_on_status_id"
  33
+
  34
+  create_table "story_statuses", :force => true do |t|
  35
+    t.string   "name"
  36
+    t.datetime "created_at"
  37
+    t.datetime "updated_at"
  38
+  end
32 39
 
33 40
   create_table "task_assignments", :force => true do |t|
34 41
     t.datetime "created_at"

0 notes on commit bdccf92

Please sign in to comment.
Something went wrong with that request. Please try again.