mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
* Drop unused heartbeat lookup tables and their FK columns Remove 8 abandoned normalization tables (heartbeat_branches, heartbeat_categories, heartbeat_editors, heartbeat_languages, heartbeat_machines, heartbeat_operating_systems, heartbeat_projects, heartbeat_user_agents) and their corresponding foreign key columns from the heartbeats table. None had models, associations, or any application code referencing them. * Remove migrations cancelling each other out
10 lines
255 B
Ruby
10 lines
255 B
Ruby
class CreateUsers < ActiveRecord::Migration[8.1]
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :slack_uid, null: false, index: { unique: true }
|
|
t.string :email, null: false, index: { unique: true }
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|