Sha256: 49d00f1e9bf24f75539b51b012f56b8ca1bd94af45805e324236d77609168220

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

class CreateTeamsTable < ActiveRecord::Migration[5.0]
  def change
    create_table :teams, force: true do |t|
      t.string :team_id
      t.string :name
      t.boolean :active, default: true
      t.string :domain
      t.string :token
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-bot-server-rtm-0.2.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-rtm-0.1.1 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-rtm-0.1.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb