logo

mastofe

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

20170506235850_create_conversations.rb (258B)


  1. class CreateConversations < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :conversations, id: :bigserial do |t|
  4. t.string :uri, null: true, default: nil
  5. t.timestamps
  6. end
  7. add_index :conversations, :uri, unique: true
  8. end
  9. end