chore: remove init_users.sql
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
-- =============================================
|
||||
-- Initial User Setup for [dbo].[BIPUsers] Table
|
||||
-- =============================================
|
||||
-- This script creates initial users for the ERP Automation Tool
|
||||
--
|
||||
-- IMPORTANT: Change these passwords before deploying to production!
|
||||
-- =============================================
|
||||
|
||||
-- Create admin user (can see all data)
|
||||
INSERT INTO [dbo].[BIPUsers] (UserName, Password, UserType) VALUES ('admin', 'admin123', 'Admin');
|
||||
|
||||
-- Create regular users (replace with actual usernames)
|
||||
-- These users will only see records where ManagerName matches their username
|
||||
INSERT INTO [dbo].[BIPUsers] (UserName, Password, UserType) VALUES ('user1', 'password1', 'User');
|
||||
INSERT INTO [dbo].[BIPUsers] (UserName, Password, UserType) VALUES ('user2', 'password2', 'User');
|
||||
|
||||
-- Example: Create users for specific managers
|
||||
-- Replace 'ManagerName1', 'ManagerName2' with actual manager names from your data
|
||||
-- INSERT INTO [dbo].[BIPUsers] (UserName, Password, UserType) VALUES ('张三', 'password123', 'User');
|
||||
-- INSERT INTO [dbo].[BIPUsers] (UserName, Password, UserType) VALUES ('李四', 'password456', 'User');
|
||||
|
||||
-- Verify created users
|
||||
SELECT * FROM [dbo].[BIPUsers];
|
||||
Reference in New Issue
Block a user