1 # -*- coding: utf-8 -*-
2 class CreateRetailers < ActiveRecord::Migration
4 create_table :retailers, :comment => '販売元テーブル' do |t|
5 t.column :name, :string, :comment => '販売元名称'
6 t.column :name_kana, :string, :comment => '販売元名称(カナ)'
7 t.column :corp_name, :string, :comment => '会社名'
8 t.column :corp_name_kana, :string, :comment => '会社名(カナ)'
9 t.column :deleted_at, :datetime