Sha256: 336ba691c67e47deb23aad9b09d5fc9f1e9a4d415de7f69d0026d24384f74706

Contents?: true

Size: 311 Bytes

Versions: 16

Compression:

Stored size: 311 Bytes

Contents

require 'marty/migrations'

class CreateMartyTags < McflyAppendOnlyMigration
  include Marty::Migrations

  def change
    create_table :marty_tags do |t|
      t.string :name,    null: false, limit: 255
      t.string :comment, null: false, limit: 255
    end

    add_mcfly_index :marty_tags, :name
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
marty-0.5.28 db/migrate/095_create_marty_tags.rb
marty-0.5.27 db/migrate/095_create_marty_tags.rb
marty-0.5.26 db/migrate/095_create_marty_tags.rb
marty-0.5.25 db/migrate/095_create_marty_tags.rb
marty-0.5.24 db/migrate/095_create_marty_tags.rb
marty-0.5.23 db/migrate/095_create_marty_tags.rb
marty-0.5.21 db/migrate/095_create_marty_tags.rb
marty-0.5.20 db/migrate/095_create_marty_tags.rb
marty-0.5.19 db/migrate/095_create_marty_tags.rb
marty-0.5.18 db/migrate/095_create_marty_tags.rb
marty-0.5.17 db/migrate/095_create_marty_tags.rb
marty-0.5.16 db/migrate/095_create_marty_tags.rb
marty-0.5.15 db/migrate/095_create_marty_tags.rb
marty-0.5.14 db/migrate/095_create_marty_tags.rb
marty-0.5.13 db/migrate/095_create_marty_tags.rb
marty-0.5.12 db/migrate/095_create_marty_tags.rb