Class: CreateChromeExtensionCaches
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateChromeExtensionCaches
- Defined in:
- lib/chromembed_rails/generators/templates/001_create_chrome_extension_caches.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
10 11 12 |
# File 'lib/chromembed_rails/generators/templates/001_create_chrome_extension_caches.rb', line 10 def self.down drop_table :chrome_extension_caches end |
.up ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/chromembed_rails/generators/templates/001_create_chrome_extension_caches.rb', line 2 def self.up create_table :chrome_extension_caches do |t| t.string :appid, :length => 128, :null => false t.string :version, :length => 64, :null => false t.binary :crx_bits, :length => 64.megabytes, :null => false end end |