Loading db/migrate/0000_create_schema.rb +1 −1 Original line number Diff line number Diff line class CreateSchema < ActiveRecord::Migration class CreateSchema < ActiveRecord::Migration[4.2] create_table "account_deletions", :force => true do |t| t.string "diaspora_handle" t.integer "person_id" Loading db/migrate/20130207231310_add_facebook_id_to_post.rb +1 −1 Original line number Diff line number Diff line class AddFacebookIdToPost < ActiveRecord::Migration class AddFacebookIdToPost < ActiveRecord::Migration[4.2] def change add_column :posts, :facebook_id, :string end Loading db/migrate/20130404211624_fix_default_image_url_from_profile.rb +1 −1 Original line number Diff line number Diff line class FixDefaultImageUrlFromProfile < ActiveRecord::Migration class FixDefaultImageUrlFromProfile < ActiveRecord::Migration[4.2] def up execute("UPDATE profiles SET image_url = REPLACE(image_url, 'images', 'assets'), image_url_small = REPLACE(image_url_small, 'images', 'assets'), image_url_medium = REPLACE(image_url_medium, 'images', 'assets') WHERE image_url LIKE '%images/user/default.png';") end Loading db/migrate/20130429073928_add_tweet_id_to_post.rb +1 −1 Original line number Diff line number Diff line class AddTweetIdToPost < ActiveRecord::Migration class AddTweetIdToPost < ActiveRecord::Migration[4.2] def change add_column :posts, :tweet_id, :string add_index :posts, ['tweet_id'], :length => { "tweet_id" => 191 } Loading db/migrate/20130608171134_add_open_graph_cache.rb +1 −1 Original line number Diff line number Diff line class AddOpenGraphCache < ActiveRecord::Migration class AddOpenGraphCache < ActiveRecord::Migration[4.2] def up create_table :open_graph_caches do |t| t.string :title Loading Loading
db/migrate/0000_create_schema.rb +1 −1 Original line number Diff line number Diff line class CreateSchema < ActiveRecord::Migration class CreateSchema < ActiveRecord::Migration[4.2] create_table "account_deletions", :force => true do |t| t.string "diaspora_handle" t.integer "person_id" Loading
db/migrate/20130207231310_add_facebook_id_to_post.rb +1 −1 Original line number Diff line number Diff line class AddFacebookIdToPost < ActiveRecord::Migration class AddFacebookIdToPost < ActiveRecord::Migration[4.2] def change add_column :posts, :facebook_id, :string end Loading
db/migrate/20130404211624_fix_default_image_url_from_profile.rb +1 −1 Original line number Diff line number Diff line class FixDefaultImageUrlFromProfile < ActiveRecord::Migration class FixDefaultImageUrlFromProfile < ActiveRecord::Migration[4.2] def up execute("UPDATE profiles SET image_url = REPLACE(image_url, 'images', 'assets'), image_url_small = REPLACE(image_url_small, 'images', 'assets'), image_url_medium = REPLACE(image_url_medium, 'images', 'assets') WHERE image_url LIKE '%images/user/default.png';") end Loading
db/migrate/20130429073928_add_tweet_id_to_post.rb +1 −1 Original line number Diff line number Diff line class AddTweetIdToPost < ActiveRecord::Migration class AddTweetIdToPost < ActiveRecord::Migration[4.2] def change add_column :posts, :tweet_id, :string add_index :posts, ['tweet_id'], :length => { "tweet_id" => 191 } Loading
db/migrate/20130608171134_add_open_graph_cache.rb +1 −1 Original line number Diff line number Diff line class AddOpenGraphCache < ActiveRecord::Migration class AddOpenGraphCache < ActiveRecord::Migration[4.2] def up create_table :open_graph_caches do |t| t.string :title Loading