@@ -0,0 +1,2164 @@
+package com.example.profbola.bakingtime.provider;%0A%0Aimport android.content.Context;%0Aimport android.database.sqlite.SQLiteDatabase;%0Aimport android.database.sqlite.SQLiteOpenHelper;%0A%0Aimport com.example.profbola.bakingtime.provider.RecipeContract.StepEntry;%0A/**%0A * Created by prof.BOLA on 6/23/2017.%0A */%0A%0Apublic class StepDbHelper extends SQLiteOpenHelper %7B%0A%0A    private static final String DATABASE_NAME = %22bakingapp.db%22;%0A%0A    private static final int DATABASE_VERSION = 1;%0A%0A    public StepDbHelper(Context context) %7B%0A        super(context, DATABASE_NAME, null, DATABASE_VERSION);%0A    %7D%0A    @Override%0A    public void onCreate(SQLiteDatabase db) %7B%0A        final String SQL_CREATE_STEPS_TABLE = %22CREATE TABLE %22 + StepEntry.TABLE_NAME + %22 ( %22                    +%0A                StepEntry._ID + %22 INTEGER PRIMARY KEY AUTOINCREMENT, %22                                          +%0A                StepEntry.COLUMN_DESCRIPTION + %22 TEXT NOT NULL, %22                                               +%0A                StepEntry.COLUMN_SHORT_DESCRIPTION + %22 TEXT NOT NULL, %22                                         +%0A                StepEntry.COLUMN_THUMBNAIL_URL + %22 STRING, %22                                                    +%0A                StepEntry.COLUMN_VIDEO_URL + %22 STRING, %22                                                        +%0A                StepEntry.COLUMN_RECIPE_ID + %22 INTEGER, %22                                                       +%0A                StepEntry.COLUMN_ID + %22 INTEGER NOT NULL, %22                                                     +%0A                %22 FOREIGN KEY ( %22 + StepEntry.COLUMN_RECIPE_ID + %22 ) REFERENCES %22                               +%0A                RecipeContract.RecipeEntry.TABLE_NAME + %22 ( %22 + RecipeContract.RecipeEntry.COLUMN_ID + %22 ) %22    +%0A                %22 UNIQUE ( %22 + StepEntry.COLUMN_ID + %22 ) ON CONFLICT REPLACE %22                                  +%0A                %22);%22;%0A%0A        db.execSQL(SQL_CREATE_STEPS_TABLE);%0A    %7D%0A%0A    @Override%0A    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) %7B%0A        db.execSQL(%22DROP TABLE IF EXISTS %22 + StepEntry.TABLE_NAME);%0A%0A        onCreate(db);%0A    %7D%0A%7D%0A

Create DB schema for Step