2020-03-09 00:40:16 +08:00
|
|
|
class CreateIgnores < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
2020-08-18 18:10:05 +08:00
|
|
|
# create_table :ignores do |t|
|
|
|
|
# t.string :name
|
|
|
|
# t.text :content
|
2020-03-09 00:40:16 +08:00
|
|
|
|
2020-08-18 18:10:05 +08:00
|
|
|
# t.timestamps
|
|
|
|
# end
|
2020-03-09 00:40:16 +08:00
|
|
|
|
2020-08-18 18:10:05 +08:00
|
|
|
# dir_url = File.join(Rails.root, "public", "options", "gitignore")
|
|
|
|
# GenerateDbService.call(dir_url, 'ignore')
|
2020-03-09 00:40:16 +08:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|