このコミットが含まれているのは:
@@ -4,13 +4,16 @@ class CreateScripts < ActiveRecord::Migration[8.0]
|
||||
t.string :name, null: false
|
||||
t.datetime :deprecated_at, index: true
|
||||
t.datetime :created_at, null: false
|
||||
|
||||
t.check_constraint "REGEXP_LIKE(code, '^[A-Z][a-z]{3}$', 'c')",
|
||||
name: 'scripts_code_check'
|
||||
end
|
||||
|
||||
execute <<~SQL
|
||||
INSERT INTO
|
||||
scripts(code, name, created_at)
|
||||
VALUES
|
||||
('Jpan', '漢字および仮名文字', #{ connection.quote Time.current })
|
||||
('Jpan', '漢字、仮名文字およびラテン文字', #{ connection.quote Time.current })
|
||||
SQL
|
||||
end
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする