Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shu1985 committed Apr 11, 2012
1 parent 030e8e2 commit b71342c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions db/migrate/20120411151706_change_column_tweets01.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class ChangeColumnTweets01 < ActiveRecord::Migration
def up
change_column :tweets, :from_twitter_image_url, :text
change_column :tweets, :user_image_url, :text
change_column :tweets, :from_twitter_image_url, :string, limit: 1024
change_column :tweets, :user_image_url, :string, limit: 1024
end

def down
Expand Down
8 changes: 4 additions & 4 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
t.integer "user_id"
t.integer "room_id"
t.text "post"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.text "from_twitter_image_url", :limit => 255
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "from_twitter_image_url", :limit => 1024
t.integer "from_twitter_id", :limit => 8
t.integer "from_twitter_user_id", :limit => 8
t.string "from_twitter_user"
t.text "user_image_url", :limit => 255
t.string "user_image_url", :limit => 1024
end

create_table "users", :force => true do |t|
Expand Down

0 comments on commit b71342c

Please sign in to comment.