Sha256: 3c97f3968edd0acdd4454c26cdcd6ebcc69c559e2e073d5c15d1f0c8a44d6a44

Contents?: true

Size: 374 Bytes

Versions: 12

Compression:

Stored size: 374 Bytes

Contents

Sequel.migration do

  up do
    create_table :settings do
      primary_key :id
      
      String :key      , :null => false, :unique => true
      String :group_key, :null => false
      String :default  , :text => true
      String :type     , :default => 'textbox' 
      String :value    , :text => true
    end
  end
  
  down do
    drop_table :settings
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.4.2 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.4.1 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.4 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.3 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.3b1 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.3b lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.2.8 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.2.7 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.2.6.1 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.2.6 lib/zen/package/settings/migrations/1295597111_create_schema.rb
zen-0.2.5 lib/zen/package/settings/migrations/1295597111_create_schema.rb