Sha256: f6a6ad686d51b60f1bd5387be9c94675624901da0e7ef711d5ca74589a383335
Contents?: true
Size: 382 Bytes
Versions: 26
Compression:
Stored size: 382 Bytes
Contents
class CreateCustomTemplates < ActiveRecord::Migration def self.up create_table :custom_templates do |t| t.timestamps t.string :name, :null => false t.string :template_type, :null => false t.text :content, :null => false end add_index :custom_templates, :name, :unique => true end def self.down drop_table :custom_templates end end
Version data entries
26 entries across 26 versions & 1 rubygems