Class: Flatfish::CreateMedia
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- Flatfish::CreateMedia
- Defined in:
- lib/flatfish/create_tables.rb
Class Method Summary collapse
-
.setup ⇒ Object
create media table.
Class Method Details
.setup ⇒ Object
create media table
21 22 23 24 25 26 |
# File 'lib/flatfish/create_tables.rb', line 21 def self.setup create_table :media do |t| t.string :url t.binary :contents, :limit => 4294967295 end end |