Sha256: 5c1a69b0f3bbcdc9e8520f48d9c9f92236f8f11ff3d47d0b7e187007ab4d3dd4

Contents?: true

Size: 316 Bytes

Versions: 78

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

class CreateDecidimHashtags < ActiveRecord::Migration[5.2]
  def self.up
    create_table :decidim_hashtags do |t|
      t.references :decidim_organization

      t.string :name, index: true

      t.timestamps
    end
  end

  def self.down
    drop_table :decidim_hashtags
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
decidim-core-0.20.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.20.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.19.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.18.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.19.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.17.2 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.18.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.17.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.16.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.17.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.16.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.15.2 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.15.1 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.15.0 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.14.4 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.14.3 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.14.2 db/migrate/20180726112510_create_decidim_hashtags.rb
decidim-core-0.14.1 db/migrate/20180726112510_create_decidim_hashtags.rb