1 class CreateOriginalPictures < ActiveRecord::Migration
3 create_table :original_pictures do |t|
4 t.string :ext, :null => false
5 t.integer :width, :null => false
6 t.integer :height, :null => false
7 t.integer :filesize, :null => false
8 t.integer :artist_id#, :null => false
9 t.integer :lisence_id#, :null => false
13 add_index :original_pictures, [:artist_id]
\r