Sha256: c55df445f2faeb3f3bac67c20dc266fc5a337b2fdc5bf55a3781f2a340b88cc9
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
class CreateComments < ActiveRecord::Migration def change create_table :c80_news_tz_comments, :options => 'COLLATE=utf8_unicode_ci' do |t| t.text :message, :limit => 1100 t.references :fact, :index => true t.references :r_blurb, :index => true t.references :user, :index => true t.string :user_name # если удалить пользователя - здесь сохранится его имя t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems