~cytrogen/masto-fe

ref: ef9a85a2d82908478cf7cd7fbc5ea6311200264e masto-fe/db/migrate/20190915194355_create_account_aliases.rb -rw-r--r-- 340 bytes
ef9a85a2 — renovate[bot] Update dependency webpack-bundle-analyzer to v4.9.1 (#26733) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class CreateAccountAliases < ActiveRecord::Migration[5.2]
  def change
    create_table :account_aliases do |t|
      t.belongs_to :account, foreign_key: { on_delete: :cascade }
      t.string :acct, null: false, default: ''
      t.string :uri, null: false, default: ''

      t.timestamps
    end
  end
end