Sha256: fe43676bf0094ca7138ec2af0b3e7154b170b751f96bbc64160f14241b75258e

Contents?: true

Size: 259 Bytes

Versions: 9

Compression:

Stored size: 259 Bytes

Contents

class CreateTables < ActiveRecord::Migration
  def self.up
    create_table :tables, :force => true do |t|
      t.integer :user_id
      t.text :data
      t.string :data_type
      t.timestamps
    end
  end

  def self.down
    drop_table :tables
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
daily-0.0.10 db/migrate/20111111165640_create_tables.rb
daily-0.0.9 db/migrate/20111111165640_create_tables.rb
daily-0.0.8 db/migrate/20111111165640_create_tables.rb
daily-0.0.7 db/migrate/20111111165640_create_tables.rb
daily-0.0.6 db/migrate/20111111165640_create_tables.rb
daily-0.0.5 db/migrate/20111111165640_create_tables.rb
daily-0.0.4 db/migrate/20111111165640_create_tables.rb
daily-0.0.3 db/migrate/20111111165640_create_tables.rb
daily-0.0.2 db/migrate/20111111165640_create_tables.rb