Sha256: 3bbc54f1cf499f2d012092f2f8af1f9ed84d42fb97fdc55413dfd3e0cfc7d140

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

class CreateTelegramChatbotChatGroups < ActiveRecord::Migration[6.0]
  def change
    create_table :telegram_chatbot_chat_groups do |t|
      t.string   :title
      t.string   :chat_id
      t.boolean  :actived, default: true
      t.text     :reason
      t.string   :provider
      t.string   :chat_type, default: "group"
      t.string   :bot_token
      t.string   :bot_username

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram_chatbot-0.1.3 db/migrate/20210425084127_create_telegram_chatbot_chat_groups.rb
telegram_chatbot-0.1.1 db/migrate/20210425084127_create_telegram_chatbot_chat_groups.rb