1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/db/migrate/20181207030332_create_teleg...

18 lines
397 B
Ruby

# frozen_string_literal: true
class CreateTelegramChats < ActiveRecord::Migration[5.2]
def change
create_table :telegram_chats do |t|
t.timestamps null: false
t.integer :remote_id, null: false, index: { unique: true }
t.string :chat_type, null: false
t.string :title
t.string :username
t.string :first_name
t.string :last_name
end
end
end