OSDN Git Service

add Picture
[pettanr/pettanr.git] / db / migrate / 20120617055928_create_resource_picture_licenses.rb
1 class CreateResourcePictureLicenses < ActiveRecord::Migration
2   def change
3     create_table :resource_picture_licenses do |t|
4       t.integer :resource_picture_id, :null => false
5       t.integer :license_id, :null => false
6       t.string :artist_name, :null => false
7       t.string :credit
8       t.string :settings
9
10       t.timestamps
11     end
12   end
13 end