logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20161104173623_create_tags.rb (218B)


  1. class CreateTags < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :tags do |t|
  4. t.string :name, null: false, default: ''
  5. t.timestamps
  6. end
  7. add_index :tags, :name, unique: true
  8. end
  9. end