f63be42b4c
Users migration, model, controller. user_id to links. signup view
13 lines
219 B
Ruby
13 lines
219 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateUsers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :username
|
|
t.string :password_digest
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|