2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-10-15 00:55:23 -04:00
|
|
|
class CreateJavascriptCaches < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
create_table :javascript_caches do |t|
|
|
|
|
t.references :theme_field, null: false
|
|
|
|
t.string :digest, null: true, index: true
|
|
|
|
t.text :content, null: false
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|