1 class CreateWritingFormats < ActiveRecord::Migration
3 create_table :writing_formats do |t|
4 t.string :name, :null => false, :limit => 50
5 t.string :classname, :null => false, :limit => 50
6 t.string :caption, :null => false, :limit => 30
7 t.string :system_picture_id, :null => false, :default => 1
8 t.integer :t, :null => false, :default => 0
9 t.text :settings, :null => false