You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class CreateIgnores < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :ignores do |t|
|
|
t.string :name
|
|
t.text :content
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
dir_url = File.join(Rails.root, "public", "options", "gitignore")
|
|
GenerateDbService.call(dir_url, 'ignore')
|
|
|
|
end
|
|
end
|