gab-social/db/migrate/20201222040559_create_account_username_changes.rb
mgabdev 6fbea0a59e Progress on little important things
removing .mov for now until we can figure out solution with videojs, added model to track username changes, got chat creation flow down, progress on bookmark collections, albums, filtering blocks/mutes from group, explore, collection timelines
2020-12-22 01:36:38 -05:00

11 lines
351 B
Ruby

class CreateAccountUsernameChanges < ActiveRecord::Migration[5.2]
def change
create_table :account_username_changes do |t|
t.belongs_to :account, foreign_key: { on_delete: :cascade }, null: false
t.text :from_username, null: false, default: ''
t.text :to_username, null: false, default: ''
t.timestamps
end
end
end