Sha256: 9d4bed7bead75ec19f059cfb421a088d8bd6a2dab6ee123d2851732b318c780c

Contents?: true

Size: 299 Bytes

Versions: 26

Compression:

Stored size: 299 Bytes

Contents

class CreateWritefullyTags < ActiveRecord::Migration
  def change
    create_table :writefully_tags do |t|
      t.string :name
      t.string :slug
      t.string :type

      t.timestamps
    end

    add_index :writefully_tags, :slug, unique: true
    add_index :writefully_tags, :type
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
writefully-0.8.2 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.8.1 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.8.0 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.7.1 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.12 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.11 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.10 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.9 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.7 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.6 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.5 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.4 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.3 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.6.2 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.5.1 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.5.0 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.4.10 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.4.8 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.4.7 db/migrate/20140402091244_create_writefully_tags.rb
writefully-0.4.6 db/migrate/20140402091244_create_writefully_tags.rb