Sha256: d3252b7f8e262836103f3294f105c76a75719d6b96294e8ec7c88cab65f4b6e4

Contents?: true

Size: 347 Bytes

Versions: 78

Compression:

Stored size: 347 Bytes

Contents

class CreateStringTypes < ActiveRecord::Migration
  def self.up
    create_table ConstructorPages::Types::StringType.table_name do |t|
      t.string :value, :default => ""
      t.references :field
      t.references :page

      t.timestamps
    end
  end

  def self.down
    drop_table ConstructorPages::Types::StringType.table_name
  end
end

Version data entries

78 entries across 78 versions & 3 rubygems

Version Path
constructor-pages-1.0.0beta1 db/migrate/4_create_string_types.rb
constructor-pages-0.9.1 db/migrate/4_create_string_types.rb
constructor-pages-0.9.0 db/migrate/4_create_string_types.rb
constructor-pages-0.8.19 db/migrate/4_create_string_types.rb
constructor-pages-0.8.18 db/migrate/4_create_string_types.rb
constructor-pages-0.8.17 db/migrate/4_create_string_types.rb
constructor-pages-0.8.16 db/migrate/4_create_string_types.rb
constructor-pages-0.8.15 db/migrate/4_create_string_types.rb
constructor-pages-0.8.14 db/migrate/4_create_string_types.rb
constructor-pages-0.8.13 db/migrate/4_create_string_types.rb
constructor-pages-0.8.12 db/migrate/4_create_string_types.rb
constructor-pages-0.8.11 db/migrate/4_create_string_types.rb
constructor-pages-0.8.10 db/migrate/4_create_string_types.rb
constructor-pages-0.8.8 db/migrate/4_create_string_types.rb
constructor-pages-0.8.7 db/migrate/4_create_string_types.rb
constructor-pages-0.8.6 db/migrate/4_create_string_types.rb
constructor-pages-0.8.5 db/migrate/4_create_string_types.rb
constructor-pages-0.8.4 db/migrate/4_create_string_types.rb
constructor-pages-0.8.3 db/migrate/4_create_string_types.rb
constructor-pages-0.8.2 db/migrate/4_create_string_types.rb