Add: #406 ユーザーのカスタムCSS (#825)

* Add: #406 ユーザーのカスタムCSS

* Fix lint

* Fix lint

* カスタムCSSの保存先を変更

* キャッシュを考慮して別URLに変更
This commit is contained in:
KMY(雪あすか) 2024-08-29 07:55:01 +09:00 committed by GitHub
parent 5ffd7593f1
commit 665c632d66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 283 additions and 4 deletions

16
app/models/custom_css.rb Normal file
View file

@ -0,0 +1,16 @@
# frozen_string_literal: true
#
# == Schema Information
#
# Table name: custom_csses
#
# id :bigint(8) not null, primary key
# user_id :bigint(8) not null
# css :string default(""), not null
# created_at :datetime not null
# updated_at :datetime not null
#
class CustomCss < ApplicationRecord
belongs_to :user
end