Sha256: e79d73a21c14eb81d82d95b1e7eeae99718f25c8c847ee356689b7a9410409d8

Contents?: true

Size: 246 Bytes

Versions: 8

Compression:

Stored size: 246 Bytes

Contents

# This migration comes from tb_blog (originally 20160216144708)
class AddIdentifierToSpudPosts < ActiveRecord::Migration
  def change
    add_column :spud_posts, :identifier, :string
    add_index :spud_posts, :identifier, unique: true
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tb_blog-1.4.4 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.4.3 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.4.2 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.3.5 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.4.1 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.4.0 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.3.4 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb
tb_blog-1.4.beta1 spec/dummy/db/migrate/20161020155452_add_identifier_to_spud_posts.tb_blog.rb